mirror of git://anongit.mindrot.org/openssh.git
- (djm) Make sure pam_retval is initialised on call to pam_end. Patch
from Solar Designer <solar@openwall.com>
This commit is contained in:
parent
883631b73a
commit
2e9adb27e9
|
@ -1,6 +1,8 @@
|
|||
20010321
|
||||
- (djm) Fix ttyname breakage for AIX and Tru64. Patch from Steve
|
||||
VanDevender <stevev@darkwing.uoregon.edu>
|
||||
- (djm) Make sure pam_retval is initialised on call to pam_end. Patch
|
||||
from Solar Designer <solar@openwall.com>
|
||||
|
||||
20010320
|
||||
- (bal) glob.c update to added GLOB_LIMITS (OpenBSD CVS).
|
||||
|
@ -4649,4 +4651,4 @@
|
|||
- Wrote replacements for strlcpy and mkdtemp
|
||||
- Released 1.0pre1
|
||||
|
||||
$Id: ChangeLog,v 1.994 2001/03/21 00:11:57 djm Exp $
|
||||
$Id: ChangeLog,v 1.995 2001/03/21 01:16:24 djm Exp $
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "canohost.h"
|
||||
#include "readpass.h"
|
||||
|
||||
RCSID("$Id: auth-pam.c,v 1.31 2001/02/28 22:18:58 djm Exp $");
|
||||
RCSID("$Id: auth-pam.c,v 1.32 2001/03/21 01:16:25 djm Exp $");
|
||||
|
||||
#define NEW_AUTHTOK_MSG \
|
||||
"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,
|
|||
/* Called at exit to cleanly shutdown PAM */
|
||||
void do_pam_cleanup_proc(void *context)
|
||||
{
|
||||
int pam_retval;
|
||||
int pam_retval = PAM_SUCCESS;
|
||||
|
||||
if (__pamh && session_opened) {
|
||||
pam_retval = pam_close_session(__pamh, 0);
|
||||
|
|
Loading…
Reference in New Issue