summaryrefslogtreecommitdiff
path: root/auth-passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-passwd.c')
-rw-r--r--auth-passwd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth-passwd.c b/auth-passwd.c
index beaf0fa6c..da247df7d 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -91,6 +91,10 @@ auth_password(Authctxt *authctxt, const char *password)
91 return ok; 91 return ok;
92 } 92 }
93#endif 93#endif
94#ifdef USE_PAM
95 if (options.use_pam)
96 return (sshpam_auth_passwd(authctxt, password) && ok);
97#endif
94#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE) 98#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE)
95 if (!expire_checked) { 99 if (!expire_checked) {
96 expire_checked = 1; 100 expire_checked = 1;