diff options
author | jsing <> | 2017-05-07 05:03:41 +0000 |
---|---|---|
committer | jsing <> | 2017-05-07 05:03:41 +0000 |
commit | ad1b182fb82eec32f3f5d1da1c2da2e628439d02 (patch) | |
tree | 4f5e65dc841d29bbac9f1fde247588e1d1bed3c3 /src/lib/libssl/s3_lib.c | |
parent | 3b455600d14ddcf2be0dcd2d4765d1b7854cd1c5 (diff) | |
download | openbsd-ad1b182fb82eec32f3f5d1da1c2da2e628439d02.tar.gz openbsd-ad1b182fb82eec32f3f5d1da1c2da2e628439d02.tar.bz2 openbsd-ad1b182fb82eec32f3f5d1da1c2da2e628439d02.zip |
Instead of starting a 'zero-sized' CBB at the size of the first addition
to the CBB, then doubling, start with an initial size of 64 bytes. Almost
all uses will exceed this size and we avoid multiple small recallocarray()
calls during the initial usage.
ok beck@
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
0 files changed, 0 insertions, 0 deletions