mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
Never return NULL, always return a hash.
Submitted by: dt
This commit is contained in:
parent
ca0c4630a1
commit
3ab9676ab3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51538
@ -44,6 +44,6 @@ crypt(char *passwd, char *salt)
|
||||
#ifdef NONEXPORTABLE_CRYPT
|
||||
return crypt_des(passwd, salt);
|
||||
#else
|
||||
return NULL;
|
||||
return crypt_md5(passwd, salt);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user