From 5b28800103f4fd286d3698348fdab12e5fb3150a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 9 Nov 2005 09:16:32 +0000 Subject: r11599: remove local (and broken) version of strhaslower() strhasupper() metze (This used to be commit 35e17abb8763e4d90725d007fefa76965260c124) --- source4/auth/auth_unix.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'source4/auth/auth_unix.c') diff --git a/source4/auth/auth_unix.c b/source4/auth/auth_unix.c index 97c941a2a5..f49a92a35f 100644 --- a/source4/auth/auth_unix.c +++ b/source4/auth/auth_unix.c @@ -564,30 +564,6 @@ static NTSTATUS password_check(const char *username, const char *password, #endif /* HAVE_BIGCRYPT && HAVE_CRYPT && USE_BOTH_CRYPT_CALLS */ } -/** - Does a string have any lowercase chars in it? -**/ -static BOOL strhaslower(const char *s) -{ - while (*s) { - if (islower(*s)) return True; - s++; - } - return False; -} - -/** - Does a string have any uppercase chars in it? -**/ -static BOOL strhasupper(const char *s) -{ - while (*s) { - if (isupper(*s)) return True; - s++; - } - return False; -} - static NTSTATUS check_unix_password(TALLOC_CTX *ctx, const struct auth_usersupplied_info *user_info) { char *username; -- cgit