If crypt(3) is called with an unknown setting, return NULL instead
authorbluhm <bluhm@openbsd.org>
Wed, 13 May 2015 21:01:54 +0000 (21:01 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 13 May 2015 21:01:54 +0000 (21:01 +0000)
commit66b2da51102769636e129a19b610a25518325806
tree7a084dd6c2368caec692382e9e3e14159b0c7b1b
parent64a3f76c072dd81169df444ff036aa23170dc855
If crypt(3) is called with an unknown setting, return NULL instead
of some undefined value.
OK tedu@
lib/libc/crypt/crypt.c