diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-09-15 23:41:07 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-09-15 23:41:07 -0400 |
commit | 93ea998c9c5a29cb34f3171f24f96d3cfe4f9cb6 (patch) | |
tree | a325b90d95cdca8ae6c1adaf23b05f3f1d6733be /src/crypt/crypt_r.c | |
parent | 5a1abeeb7c3774667e95ad5d3054164b0b833dcb (diff) | |
download | musl-93ea998c9c5a29cb34f3171f24f96d3cfe4f9cb6.tar.gz musl-93ea998c9c5a29cb34f3171f24f96d3cfe4f9cb6.tar.bz2 musl-93ea998c9c5a29cb34f3171f24f96d3cfe4f9cb6.tar.xz musl-93ea998c9c5a29cb34f3171f24f96d3cfe4f9cb6.zip |
add crypt_md5 password hash
contributed by nsz
Diffstat (limited to 'src/crypt/crypt_r.c')
-rw-r--r-- | src/crypt/crypt_r.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/crypt/crypt_r.c b/src/crypt/crypt_r.c index 1c7f9cf0..3257e8b9 100644 --- a/src/crypt/crypt_r.c +++ b/src/crypt/crypt_r.c @@ -13,10 +13,8 @@ char *__crypt_r(const char *key, const char *salt, struct crypt_data *data) { char *output = (char *)data; if (salt[0] == '$' && salt[1] && salt[2]) { -#if 0 if (salt[1] == '1' && salt[2] == '$') return __crypt_md5(key, salt, output); -#endif if (salt[1] == '2' && salt[3] == '$') return __crypt_blowfish(key, salt, output); if (salt[1] == '5' && salt[2] == '$') |