Enable commented-out "if (compat20)" test. (Should not have been committed.)
diff --git a/auth-pam.c b/auth-pam.c
index 2fe1e33..9edf2c5 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -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 @@
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 @@
goto auth_fail;
pam_password_change_required(0);
}
- /* } */
+ }
buffer_put_cstring(&buffer, "OK");