From a5c488715b96f0dffa087a08b0cb5abdb6f93527 Mon Sep 17 00:00:00 2001 From: des Date: Sat, 15 Feb 2014 10:53:44 +0000 Subject: [PATCH] Switch the hardcoded default hash function from MD5 / DES to SHA512. --- lib/libcrypt/crypt.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/libcrypt/crypt.c b/lib/libcrypt/crypt.c index bfcbb2049b5..ec4c7d0953c 100644 --- a/lib/libcrypt/crypt.c +++ b/lib/libcrypt/crypt.c @@ -79,11 +79,7 @@ static const struct { } }; -#ifdef HAS_DES -#define CRYPT_DEFAULT "des" -#else -#define CRYPT_DEFAULT "md5" -#endif +#define CRYPT_DEFAULT "sha512" static int crypt_type = -1; -- 2.45.0