diff options
author | markm <markm@FreeBSD.org> | 1999-09-22 06:53:08 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1999-09-22 06:53:08 +0000 |
commit | 2e05680dbff2e5304d36532384c8ecaf4e1cd48c (patch) | |
tree | 99a78f75c39744b269ee330340f4ab1e6163aae0 | |
parent | 1fcffc6d2b2efebf8d31a36ba9e05cf8a5ba9e66 (diff) | |
download | FreeBSD-src-2e05680dbff2e5304d36532384c8ecaf4e1cd48c.zip FreeBSD-src-2e05680dbff2e5304d36532384c8ecaf4e1cd48c.tar.gz |
Never return NULL, always return a hash.
Submitted by: dt
-rw-r--r-- | lib/libcrypt/crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypt/crypt.c b/lib/libcrypt/crypt.c index 8172504..e3fb989 100644 --- a/lib/libcrypt/crypt.c +++ b/lib/libcrypt/crypt.c @@ -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 } |