1
0
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:
Mark Murray 1999-09-22 06:53:08 +00:00
parent ca0c4630a1
commit 3ab9676ab3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51538

View File

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