diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-04 15:29:35 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-04 15:29:35 +0000 |
commit | d324e1b808daca7eec5b8700824a886a21508714 (patch) | |
tree | 9aa36cbf7f824b6068fba785bee0eb8262677117 /libbb/pw_encrypt_md5.c | |
parent | 9c6d12993f336662c0afcdce4a06f5669c0b8501 (diff) | |
download | busybox-w32-d324e1b808daca7eec5b8700824a886a21508714.tar.gz busybox-w32-d324e1b808daca7eec5b8700824a886a21508714.tar.bz2 busybox-w32-d324e1b808daca7eec5b8700824a886a21508714.zip |
libbb/crypt: code shrink
function old new delta
to64_msb_first - 63 +63
des_crypt 1509 1338 -171
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/1 up/down: 63/-171) Total: -108 bytes
Diffstat (limited to 'libbb/pw_encrypt_md5.c')
-rw-r--r-- | libbb/pw_encrypt_md5.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libbb/pw_encrypt_md5.c b/libbb/pw_encrypt_md5.c index b02cbecfa..58964b567 100644 --- a/libbb/pw_encrypt_md5.c +++ b/libbb/pw_encrypt_md5.c | |||
@@ -65,10 +65,6 @@ | |||
65 | * by Erik Andersen to remove reentrance stuff... | 65 | * by Erik Andersen to remove reentrance stuff... |
66 | */ | 66 | */ |
67 | 67 | ||
68 | #define MD5_MAGIC_STR "$1$" | ||
69 | #define MD5_MAGIC_LEN (sizeof(MD5_MAGIC_STR) - 1) | ||
70 | static const unsigned char __md5__magic[] = MD5_MAGIC_STR; | ||
71 | |||
72 | /* | 68 | /* |
73 | * UNIX password | 69 | * UNIX password |
74 | * | 70 | * |
@@ -163,5 +159,3 @@ md5_crypt(char result[MD5_OUT_BUFSIZE], const unsigned char *pw, const unsigned | |||
163 | 159 | ||
164 | return result; | 160 | return result; |
165 | } | 161 | } |
166 | #undef MD5_MAGIC_STR | ||
167 | #undef MD5_MAGIC_LEN | ||