summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cryptlib.c
diff options
context:
space:
mode:
authormillert <>2015-06-21 03:20:56 +0000
committermillert <>2015-06-21 03:20:56 +0000
commit5712bedec3ebd1a6f14885e7c138af02fab74449 (patch)
tree77e8d69e530876e86f0aab4eb2d5d11941eca71c /src/lib/libcrypto/cryptlib.c
parent432767f47a21becad33b3d167c69e632685ceefb (diff)
downloadopenbsd-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