From d324e1b808daca7eec5b8700824a886a21508714 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 4 Dec 2008 15:29:35 +0000 Subject: 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 --- libbb/pw_encrypt_md5.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libbb/pw_encrypt_md5.c') 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 @@ * 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 -- cgit v1.2.3