diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-11-09 09:16:32 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2005-11-09 09:16:32 +0000 |
commit | bab2eec42d2ca221c457910725dafa56d4a0c888 (patch) | |
tree | 5a2b445c3d1fcb7a8af0be114809c24459caab92 /source/auth | |
parent | 4d60fa06da52ecc123dd6b71e67906025bd4d75d (diff) | |
download | samba-bab2eec42d2ca221c457910725dafa56d4a0c888.tar.gz samba-bab2eec42d2ca221c457910725dafa56d4a0c888.tar.xz samba-bab2eec42d2ca221c457910725dafa56d4a0c888.zip |
r11599: remove local (and broken) version of strhaslower() strhasupper()
metze
Diffstat (limited to 'source/auth')
-rw-r--r-- | source/auth/auth_unix.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/source/auth/auth_unix.c b/source/auth/auth_unix.c index 97c941a2a50..f49a92a35f9 100644 --- a/source/auth/auth_unix.c +++ b/source/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; |