summaryrefslogtreecommitdiff
path: root/libbb/pw_encrypt_md5.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-12-04 15:29:35 +0000
committerDenis Vlasenko2008-12-04 15:29:35 +0000
commitd324e1b808daca7eec5b8700824a886a21508714 (patch)
tree9aa36cbf7f824b6068fba785bee0eb8262677117 /libbb/pw_encrypt_md5.c
parent9c6d12993f336662c0afcdce4a06f5669c0b8501 (diff)
downloadbusybox-d324e1b808daca7eec5b8700824a886a21508714.zip
busybox-d324e1b808daca7eec5b8700824a886a21508714.tar.gz
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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libbb/pw_encrypt_md5.c b/libbb/pw_encrypt_md5.c
index b02cbec..58964b5 100644
--- a/libbb/pw_encrypt_md5.c
+++ b/libbb/pw_encrypt_md5.c
@@ -65,10 +65,6 @@
* by Erik Andersen to remove reentrance stuff...
*/
-#define MD5_MAGIC_STR "$1$"
-#define MD5_MAGIC_LEN (sizeof(MD5_MAGIC_STR) - 1)
-static const unsigned char __md5__magic[] = MD5_MAGIC_STR;
-
/*
* UNIX password
*
@@ -163,5 +159,3 @@ md5_crypt(char result[MD5_OUT_BUFSIZE], const unsigned char *pw, const unsigned
return result;
}
-#undef MD5_MAGIC_STR
-#undef MD5_MAGIC_LEN