diff options
author | Tomas Mraz <tm@t8m.info> | 2008-01-24 16:42:58 +0000 |
---|---|---|
committer | Tomas Mraz <tm@t8m.info> | 2008-01-24 16:42:58 +0000 |
commit | 18844525b681b18eec1f18bbfaeb5577c96b28c0 (patch) | |
tree | c8be26715848e99c32372a0ad116706922c1dfb1 /modules/pam_unix/passverify.h | |
parent | 459e97431e99fa2c32e30e957993f95794b98dd0 (diff) | |
download | pam-18844525b681b18eec1f18bbfaeb5577c96b28c0.tar.gz pam-18844525b681b18eec1f18bbfaeb5577c96b28c0.tar.bz2 pam-18844525b681b18eec1f18bbfaeb5577c96b28c0.zip |
Relevant BUGIDs: 1836981
Purpose of commit: bugfix
Commit summary:
---------------
2008-01-24 Tomas Mraz <t8m@centrum.cz>
* modules/pam_unix/bigcrypt.c (bigcrypt): Use crypt_r() when
available.
* modules/pam_unix/passverify.c (strip_hpux_aging): New function
to strip HP/UX aging info from password hash.
(verify_pwd_hash): Call strip_hpux_aging(), use crypt_r() when
available.
Diffstat (limited to 'modules/pam_unix/passverify.h')
-rw-r--r-- | modules/pam_unix/passverify.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/passverify.h b/modules/pam_unix/passverify.h index 196e0e33..e8e112d0 100644 --- a/modules/pam_unix/passverify.h +++ b/modules/pam_unix/passverify.h @@ -13,7 +13,7 @@ #define OLD_PASSWORDS_FILE "/etc/security/opasswd" int -verify_pwd_hash(const char *p, const char *hash, unsigned int nullok); +verify_pwd_hash(const char *p, char *hash, unsigned int nullok); int is_pwd_shadowed(const struct passwd *pwd); |