summaryrefslogtreecommitdiff
path: root/modules/pam_unix/passverify.h
diff options
context:
space:
mode:
authorTomas Mraz <tm@t8m.info>2008-01-24 16:42:58 +0000
committerTomas Mraz <tm@t8m.info>2008-01-24 16:42:58 +0000
commit18844525b681b18eec1f18bbfaeb5577c96b28c0 (patch)
treec8be26715848e99c32372a0ad116706922c1dfb1 /modules/pam_unix/passverify.h
parent459e97431e99fa2c32e30e957993f95794b98dd0 (diff)
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.h2
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);