diff options
author | des <des@FreeBSD.org> | 2014-02-15 10:53:44 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2014-02-15 10:53:44 +0000 |
commit | a5c488715b96f0dffa087a08b0cb5abdb6f93527 (patch) | |
tree | 476f5e6e1fec01fbf6ee0dd3ffa0809ff2bc1730 /lib | |
parent | 0cf286382f1b96d8b03564ebe5e49a6e13dbb060 (diff) | |
download | FreeBSD-src-a5c488715b96f0dffa087a08b0cb5abdb6f93527.zip FreeBSD-src-a5c488715b96f0dffa087a08b0cb5abdb6f93527.tar.gz |
Switch the hardcoded default hash function from MD5 / DES to SHA512.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypt/crypt.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libcrypt/crypt.c b/lib/libcrypt/crypt.c index bfcbb20..ec4c7d0 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; |