diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-12-18 16:08:59 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-12-18 16:08:59 +1100 |
commit | c376c8647edb08fa1659882c4a96babedec94d18 (patch) | |
tree | 6daa1117edaa282baaca844afd73b56143c0d3dd | |
parent | 07705c788e9bcd8d35dfbb59d2b12c61b8601c9a (diff) |
Enable commented-out "if (compat20)" test. (Should not have been committed.)
-rw-r--r-- | auth-pam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-pam.c b/auth-pam.c index 2fe1e3382..9edf2c54e 100644 --- a/auth-pam.c +++ b/auth-pam.c | |||
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | /* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ | 32 | /* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ |
33 | #include "includes.h" | 33 | #include "includes.h" |
34 | RCSID("$Id: auth-pam.c,v 1.85 2003/12/18 04:34:32 dtucker Exp $"); | 34 | RCSID("$Id: auth-pam.c,v 1.86 2003/12/18 05:08:59 dtucker Exp $"); |
35 | 35 | ||
36 | #ifdef USE_PAM | 36 | #ifdef USE_PAM |
37 | #include <security/pam_appl.h> | 37 | #include <security/pam_appl.h> |
@@ -312,7 +312,7 @@ sshpam_thread(void *ctxtp) | |||
312 | if (sshpam_err != PAM_SUCCESS) | 312 | if (sshpam_err != PAM_SUCCESS) |
313 | goto auth_fail; | 313 | goto auth_fail; |
314 | 314 | ||
315 | /* if (compat20) { */ | 315 | if (compat20) { |
316 | if (!do_pam_account()) | 316 | if (!do_pam_account()) |
317 | goto auth_fail; | 317 | goto auth_fail; |
318 | if (sshpam_new_authtok_reqd) { | 318 | if (sshpam_new_authtok_reqd) { |
@@ -322,7 +322,7 @@ sshpam_thread(void *ctxtp) | |||
322 | goto auth_fail; | 322 | goto auth_fail; |
323 | pam_password_change_required(0); | 323 | pam_password_change_required(0); |
324 | } | 324 | } |
325 | /* } */ | 325 | } |
326 | 326 | ||
327 | buffer_put_cstring(&buffer, "OK"); | 327 | buffer_put_cstring(&buffer, "OK"); |
328 | 328 | ||