diff options
Diffstat (limited to 'xtests')
-rw-r--r-- | xtests/tst-pam_cracklib1.c | 4 | ||||
-rw-r--r-- | xtests/tst-pam_pwhistory1.pamd | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xtests/tst-pam_cracklib1.c b/xtests/tst-pam_cracklib1.c index b0e52051..1a219c83 100644 --- a/xtests/tst-pam_cracklib1.c +++ b/xtests/tst-pam_cracklib1.c @@ -107,7 +107,7 @@ main(int argc, char *argv[]) /* Try one, first input is correct, second is NULL */ retval = pam_chauthtok (pamh, 0); - if (retval != PAM_AUTHTOK_RECOVERY_ERR) + if (retval != PAM_AUTHTOK_ERR) { if (debug) fprintf (stderr, "cracklib1-1: pam_chauthtok returned %d\n", retval); @@ -116,7 +116,7 @@ main(int argc, char *argv[]) /* Try two, second input is NULL */ retval = pam_chauthtok (pamh, 0); - if (retval != PAM_AUTHTOK_RECOVERY_ERR) + if (retval != PAM_AUTHTOK_ERR) { if (debug) fprintf (stderr, "cracklib1-2: pam_chauthtok returned %d\n", retval); diff --git a/xtests/tst-pam_pwhistory1.pamd b/xtests/tst-pam_pwhistory1.pamd index b03098fa..e096cc4f 100644 --- a/xtests/tst-pam_pwhistory1.pamd +++ b/xtests/tst-pam_pwhistory1.pamd @@ -1,7 +1,7 @@ #%PAM-1.0 auth required pam_permit.so account required pam_permit.so -password required pam_pwhistory.so remember=10 retry=1 debug +password required pam_pwhistory.so remember=10 retry=1 password required pam_unix.so use_authtok md5 session required pam_permit.so |