From de9ec929586fd88d1efbaea3f6cf5bf5b57d391f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 27 Sep 2006 23:31:59 +0000 Subject: usage.h: fix compile-time bugs exposed by previous change --- libbb/pw_encrypt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libbb/pw_encrypt.c') diff --git a/libbb/pw_encrypt.c b/libbb/pw_encrypt.c index d6b2fe28d..f6085f3d2 100644 --- a/libbb/pw_encrypt.c +++ b/libbb/pw_encrypt.c @@ -11,13 +11,12 @@ #include #include - char *pw_encrypt(const char *clear, const char *salt) { static char cipher[128]; char *cp; -#ifdef CONFIG_FEATURE_SHA1_PASSWORDS +#if 0 /* was CONFIG_FEATURE_SHA1_PASSWORDS, but there is no such thing??? */ if (strncmp(salt, "$2$", 3) == 0) { return sha1_crypt(clear); } @@ -29,4 +28,3 @@ char *pw_encrypt(const char *clear, const char *salt) safe_strncpy(cipher, cp, sizeof(cipher)); return cipher; } - -- cgit v1.2.3