diff options
author | doug <> | 2015-06-13 09:11:57 +0000 |
---|---|---|
committer | doug <> | 2015-06-13 09:11:57 +0000 |
commit | 145df5a2af1fa22c5a5e2ca102fddede1c5c7dc6 (patch) | |
tree | c1fd384daf3675678e1f586286098659c791ee5d /src/lib/libssl/bs_cbs.c | |
parent | 00e42704abf374e051c599632923e278acebd0fa (diff) | |
download | openbsd-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