X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;ds=sidebyside;f=modules%2Fpam_unix%2Fpam_unix_auth.c;h=39e0cde539dbb9d335fbffb603c1e5a023fd3ed9;hb=31668ed6f0bf6d2b1c6d621cca42aee0daf23a65;hp=a0c1da815f1f6b29df9276ec7b802775ef366f81;hpb=554a5def9a2eddc643cf157208ddfe7fee444240;p=linux-pam diff --git a/modules/pam_unix/pam_unix_auth.c b/modules/pam_unix/pam_unix_auth.c index a0c1da81..39e0cde5 100644 --- a/modules/pam_unix/pam_unix_auth.c +++ b/modules/pam_unix/pam_unix_auth.c @@ -149,7 +149,7 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t * pamh, int flags /* if this user does not have a password... */ - if (_unix_blankpasswd(ctrl, name)) { + if (_unix_blankpasswd(pamh, ctrl, name)) { D(("user '%s' has blank passwd", name)); name = NULL; retval = PAM_SUCCESS;