diff options
Diffstat (limited to 'crypto/openssh/auth2.c')
-rw-r--r-- | crypto/openssh/auth2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/openssh/auth2.c b/crypto/openssh/auth2.c index 5b8ea1a..702695a 100644 --- a/crypto/openssh/auth2.c +++ b/crypto/openssh/auth2.c @@ -400,11 +400,10 @@ userauth_passwd(Authctxt *authctxt) packet_done(); if (authctxt->valid && #ifdef USE_PAM - auth_pam_password(authctxt, password) == 1 + auth_password(authctxt, password) == 1) #else - auth_password(authctxt, password) == 1 + auth_password(authctxt, password) == 1) #endif - ) authenticated = 1; memset(password, 0, len); xfree(password); |