diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2018-11-27 16:11:03 +0100 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2018-11-27 16:11:03 +0100 |
commit | d8d11db2cef65da5d2afa7acf21aa9c8cd88abed (patch) | |
tree | 5288f8d4db00a8b45bc98c510a4322717e0d676a /modules/pam_unix/support.c | |
parent | 86eed7ca01864b9fd17099e57f10f2b9b6b568a1 (diff) | |
download | pam-d8d11db2cef65da5d2afa7acf21aa9c8cd88abed.tar.gz pam-d8d11db2cef65da5d2afa7acf21aa9c8cd88abed.tar.bz2 pam-d8d11db2cef65da5d2afa7acf21aa9c8cd88abed.zip |
pam_unix: Use pam_syslog instead of helper_log_err.
* modules/pam_unix/passverify.c (verify_pwd_hash): Add pamh argument via
PAMH_ARG_DECL. Call pam_syslog() instead of helper_log_err().
* modules/pam_unix/passverify.h: Adjust the declaration of verify_pwd_hash().
* modules/pam_unix/support.c (_unix_verify_password): Add the pamh argument
to verify_pwd_hash() call.
Diffstat (limited to 'modules/pam_unix/support.c')
-rw-r--r-- | modules/pam_unix/support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/support.c b/modules/pam_unix/support.c index 6894288d..ea5594d2 100644 --- a/modules/pam_unix/support.c +++ b/modules/pam_unix/support.c @@ -770,7 +770,7 @@ int _unix_verify_password(pam_handle_t * pamh, const char *name } } } else { - retval = verify_pwd_hash(p, salt, off(UNIX__NONULL, ctrl)); + retval = verify_pwd_hash(pamh, p, salt, off(UNIX__NONULL, ctrl)); } if (retval == PAM_SUCCESS) { |