]> eyrie.org Git - kerberos/krb5-strength.git/commitdiff
Remove remaking CrackLib FascistGecos reference
authorRuss Allbery <eagle@eyrie.org>
Wed, 19 Oct 2016 16:15:19 +0000 (09:15 -0700)
committerRuss Allbery <eagle@eyrie.org>
Wed, 19 Oct 2016 16:15:19 +0000 (09:15 -0700)
All this code was previously removed, but there was still a
reference protected by #ifdef.  Get rid of that too.

cracklib/fascist.c

index 2d9310ca75d5b40a07d4bc7863dda44d6bd1e9f0..cde8eb29cec167917ffb974e61d0054b282fdf18 100644 (file)
@@ -541,14 +541,6 @@ FascistLook(PWDICT *pwp, const char *instring)
        return ("it looks like a National Insurance number.");
     }
 
-    /* This is pretty useless for a server. */
-#ifdef HAVE_GECOS_AVAILABLE
-    if (ptr = FascistGecos(password, getuid()))
-    {
-       return (ptr);
-    }
-#endif 
-
     /* it should be safe to use Mangle with its reliance on STRINGSIZE
        since password cannot be longer than TRUNCSTRINGSIZE;
        nonetheless this is not an elegant solution */