Switch the hardcoded default hash function from MD5 / DES to SHA512.

This commit is contained in:
Dag-Erling Smørgrav 2014-02-15 10:53:44 +00:00
parent fa7db06b8f
commit e401beb723
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261913

View File

@ -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;