summaryrefslogtreecommitdiff
path: root/src/lib/libssl/bs_cbs.c
diff options
context:
space:
mode:
authordoug <>2015-06-13 09:11:57 +0000
committerdoug <>2015-06-13 09:11:57 +0000
commit145df5a2af1fa22c5a5e2ca102fddede1c5c7dc6 (patch)
treec1fd384daf3675678e1f586286098659c791ee5d /src/lib/libssl/bs_cbs.c
parent00e42704abf374e051c599632923e278acebd0fa (diff)
downloadopenbsd-145df5a2af1fa22c5a5e2ca102fddede1c5c7dc6.tar.gz
openbsd-145df5a2af1fa22c5a5e2ca102fddede1c5c7dc6.tar.bz2
openbsd-145df5a2af1fa22c5a5e2ca102fddede1c5c7dc6.zip
When initial capacity is 0, always use NULL buffer.
malloc(0) is implementation defined and there's no reason to introduce that ambiguity here. Added a few cosmetic changes in sizeof and free. ok miod@ jsing@
Diffstat (limited to 'src/lib/libssl/bs_cbs.c')
0 files changed, 0 insertions, 0 deletions