diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | auth-pam.c | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20010321 | 1 | 20010321 |
2 | - (djm) Fix ttyname breakage for AIX and Tru64. Patch from Steve | 2 | - (djm) Fix ttyname breakage for AIX and Tru64. Patch from Steve |
3 | VanDevender <stevev@darkwing.uoregon.edu> | 3 | VanDevender <stevev@darkwing.uoregon.edu> |
4 | - (djm) Make sure pam_retval is initialised on call to pam_end. Patch | ||
5 | from Solar Designer <solar@openwall.com> | ||
4 | 6 | ||
5 | 20010320 | 7 | 20010320 |
6 | - (bal) glob.c update to added GLOB_LIMITS (OpenBSD CVS). | 8 | - (bal) glob.c update to added GLOB_LIMITS (OpenBSD CVS). |
@@ -4649,4 +4651,4 @@ | |||
4649 | - Wrote replacements for strlcpy and mkdtemp | 4651 | - Wrote replacements for strlcpy and mkdtemp |
4650 | - Released 1.0pre1 | 4652 | - Released 1.0pre1 |
4651 | 4653 | ||
4652 | $Id: ChangeLog,v 1.994 2001/03/21 00:11:57 djm Exp $ | 4654 | $Id: ChangeLog,v 1.995 2001/03/21 01:16:24 djm Exp $ |
diff --git a/auth-pam.c b/auth-pam.c index ce4984532..dfaaacdc7 100644 --- a/auth-pam.c +++ b/auth-pam.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include "canohost.h" | 33 | #include "canohost.h" |
34 | #include "readpass.h" | 34 | #include "readpass.h" |
35 | 35 | ||
36 | RCSID("$Id: auth-pam.c,v 1.31 2001/02/28 22:18:58 djm Exp $"); | 36 | RCSID("$Id: auth-pam.c,v 1.32 2001/03/21 01:16:25 djm Exp $"); |
37 | 37 | ||
38 | #define NEW_AUTHTOK_MSG \ | 38 | #define NEW_AUTHTOK_MSG \ |
39 | "Warning: Your password has expired, please change it now" | 39 | "Warning: Your password has expired, please change it now" |
@@ -172,7 +172,7 @@ static int do_pam_conversation(int num_msg, const struct pam_message **msg, | |||
172 | /* Called at exit to cleanly shutdown PAM */ | 172 | /* Called at exit to cleanly shutdown PAM */ |
173 | void do_pam_cleanup_proc(void *context) | 173 | void do_pam_cleanup_proc(void *context) |
174 | { | 174 | { |
175 | int pam_retval; | 175 | int pam_retval = PAM_SUCCESS; |
176 | 176 | ||
177 | if (__pamh && session_opened) { | 177 | if (__pamh && session_opened) { |
178 | pam_retval = pam_close_session(__pamh, 0); | 178 | pam_retval = pam_close_session(__pamh, 0); |