diff options
Diffstat (limited to 'src/check.c')
-rw-r--r-- | src/check.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/check.c b/src/check.c index 7068958..8b59f2f 100644 --- a/src/check.c +++ b/src/check.c @@ -503,13 +503,6 @@ password_check(pwquality_settings_t *pwq, char *oldmono = NULL, *newmono, *wrapped = NULL; char *usermono = NULL; - /* Sanitize the old and user values */ - if (old && *old = '\0') - old = NULL; - - if (user && *user = '\0') - user = NULL; - newmono = str_lower(x_strdup(new)); if (!newmono) rv = PWQ_ERROR_MEM_ALLOC; |