diff options
author | millert <> | 2015-06-21 03:20:56 +0000 |
---|---|---|
committer | millert <> | 2015-06-21 03:20:56 +0000 |
commit | 5712bedec3ebd1a6f14885e7c138af02fab74449 (patch) | |
tree | 77e8d69e530876e86f0aab4eb2d5d11941eca71c /src/lib/libcrypto/cryptlib.c | |
parent | 432767f47a21becad33b3d167c69e632685ceefb (diff) | |
download | openbsd-5712bedec3ebd1a6f14885e7c138af02fab74449.tar.gz openbsd-5712bedec3ebd1a6f14885e7c138af02fab74449.tar.bz2 openbsd-5712bedec3ebd1a6f14885e7c138af02fab74449.zip |
Just return if nmemb is 0. Avoids a NULL dereference and is
consistent with the behavior of the other libc sort functions.
OK deraadt@
Diffstat (limited to 'src/lib/libcrypto/cryptlib.c')
0 files changed, 0 insertions, 0 deletions