Enable commented-out "if (compat20)" test. (Should not have been committed.)
This commit is contained in:
parent
07705c788e
commit
c376c8647e
|
@ -31,7 +31,7 @@
|
|||
|
||||
/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
|
||||
#include "includes.h"
|
||||
RCSID("$Id: auth-pam.c,v 1.85 2003/12/18 04:34:32 dtucker Exp $");
|
||||
RCSID("$Id: auth-pam.c,v 1.86 2003/12/18 05:08:59 dtucker Exp $");
|
||||
|
||||
#ifdef USE_PAM
|
||||
#include <security/pam_appl.h>
|
||||
|
@ -312,7 +312,7 @@ sshpam_thread(void *ctxtp)
|
|||
if (sshpam_err != PAM_SUCCESS)
|
||||
goto auth_fail;
|
||||
|
||||
/* if (compat20) { */
|
||||
if (compat20) {
|
||||
if (!do_pam_account())
|
||||
goto auth_fail;
|
||||
if (sshpam_new_authtok_reqd) {
|
||||
|
@ -322,7 +322,7 @@ sshpam_thread(void *ctxtp)
|
|||
goto auth_fail;
|
||||
pam_password_change_required(0);
|
||||
}
|
||||
/* } */
|
||||
}
|
||||
|
||||
buffer_put_cstring(&buffer, "OK");
|
||||
|
||||
|
|
Loading…
Reference in New Issue