summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/auth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/auth2.c')
-rw-r--r--crypto/openssh/auth2.c5
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);
OpenPOWER on IntegriCloud