From eb0e969a4f68e3e63c8848f2aa29f575a3346f88 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 19 May 2003 11:28:44 +1000 Subject: [PATCH] - (djm) Sync auth-pam.h with what we actually implement --- ChangeLog | 7 +++++-- auth-pam.h | 20 ++++++++------------ 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index e7cebca20..f65ff5a4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ -20030517 +20030519 + - (djm) Sync auth-pam.h with what we actually implement + +20030518 - (djm) Return of the dreaded PAM_TTY_KLUDGE, which went missing in recent merge - (djm) OpenBSD CVS Sync @@ -1575,4 +1578,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; ok provos@ -$Id: ChangeLog,v 1.2741 2003/05/18 14:50:02 djm Exp $ +$Id: ChangeLog,v 1.2742 2003/05/19 01:28:44 djm Exp $ diff --git a/auth-pam.h b/auth-pam.h index 5df65caa3..fdbd0febd 100644 --- a/auth-pam.h +++ b/auth-pam.h @@ -1,4 +1,4 @@ -/* $Id: auth-pam.h,v 1.17 2003/05/10 09:28:02 djm Exp $ */ +/* $Id: auth-pam.h,v 1.18 2003/05/19 01:28:44 djm Exp $ */ /* * Copyright (c) 2000 Damien Miller. All rights reserved. @@ -31,19 +31,15 @@ # define SSHD_PAM_SERVICE __progname #endif -void start_pam(const char *user); +void start_pam(const char *); void finish_pam(void); -int auth_pam_password(Authctxt *authctxt, const char *password); -char **fetch_pam_environment(void); -void free_pam_environment(char **env); -int do_pam_authenticate(int flags); -int do_pam_account(const char *user, const char *ruser); -void do_pam_session(const char *user, const char *tty); -void do_pam_setcred(int init); -void print_pam_messages(void); +int do_pam_account(const char *, const char *); +void do_pam_session(const char *, const char *); +void do_pam_setcred(int ); int is_pam_password_change_required(void); void do_pam_chauthtok(void); -void do_pam_set_conv(struct pam_conv *); -void message_cat(char **p, const char *a); +void print_pam_messages(void); +char ** fetch_pam_environment(void); +void free_pam_environment(char **); #endif /* USE_PAM */