summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls.h
diff options
context:
space:
mode:
authormiod <>2015-02-11 06:40:04 +0000
committermiod <>2015-02-11 06:40:04 +0000
commit01fabf00f34c0ca7466352b13f7071a4170301fc (patch)
tree470f3b7cf86d73904926240149bf79bf91d98e75 /src/lib/libtls/tls.h
parent74b6aedb7d6d115e1fa81e96806190a780392341 (diff)
downloadopenbsd-01fabf00f34c0ca7466352b13f7071a4170301fc.tar.gz
openbsd-01fabf00f34c0ca7466352b13f7071a4170301fc.tar.bz2
openbsd-01fabf00f34c0ca7466352b13f7071a4170301fc.zip
Do not rely upon malloc(0) not returning NULL. Not all malloc implementations
have this property. Instead, skip the malloc and memcmp if their size is zero. Per bcook@ request in order to run on AIX
Diffstat (limited to 'src/lib/libtls/tls.h')
0 files changed, 0 insertions, 0 deletions