diff options
Diffstat (limited to 'modules/pam_cracklib/pam_cracklib.c')
-rw-r--r-- | modules/pam_cracklib/pam_cracklib.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/modules/pam_cracklib/pam_cracklib.c b/modules/pam_cracklib/pam_cracklib.c index 16549319..45c02aba 100644 --- a/modules/pam_cracklib/pam_cracklib.c +++ b/modules/pam_cracklib/pam_cracklib.c @@ -64,12 +64,6 @@ extern char *FascistCheck(char *pw, const char *dictpath); #define CRACKLIB_DICTS NULL #endif -/* For Translators: "%s%s" could be replaced with "<service> " or "". */ -#define PROMPT1 _("New %s%spassword: ") -/* For Translators: "%s%s" could be replaced with "<service> " or "". */ -#define PROMPT2 _("Retype new %s%spassword: ") -#define MISTYPED_PASS _("Sorry, passwords do not match.") - #ifdef MIN #undef MIN #endif @@ -408,7 +402,7 @@ static int simple(struct cracklib_options *opt, const char *new) } else sameclass++; } - if (opt->max_class_repeat > 1 && sameclass > opt->max_class_repeat) { + if (opt->max_class_repeat > 0 && sameclass > opt->max_class_repeat) { return 1; } } |