diff options
Diffstat (limited to 'xtests/tst-pam_cracklib1.c')
-rw-r--r-- | xtests/tst-pam_cracklib1.c | 4 |
1 files changed, 2 insertions, 2 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); |