summaryrefslogtreecommitdiff
path: root/xtests/tst-pam_cracklib1.c
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:53:41 -0800
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 18:17:08 -0800
commit212b52cf29c06cc209bc8ac0540dbab1acdf1464 (patch)
tree58da0bf39f5c4122e4a1b4da20fdeea52b97a671 /xtests/tst-pam_cracklib1.c
parent9c52e721044e7501c3d4567b36d222dc7326224a (diff)
parent56c8282d128fb484ffc77dff73abf42229b291d3 (diff)
New upstream version 1.1.0
Diffstat (limited to 'xtests/tst-pam_cracklib1.c')
-rw-r--r--xtests/tst-pam_cracklib1.c4
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);