afdbb62de2
It's possible that a BIO implementation could return a negative number (say -1) for BIO_CTRL_PENDING or BIO_CTRL_WPENDING. Assert that this doesn't happen and map it to zero if it happens anyway in NDEBUG builds. Change-Id: Ie01214e80ff19acc1c7681a1125bbbf2038679c3 Reviewed-on: https://boringssl-review.googlesource.com/11700 Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> |
||
---|---|---|
.. | ||
bio_mem.c | ||
bio_test.cc | ||
bio.c | ||
buffer.c | ||
CMakeLists.txt | ||
connect.c | ||
fd.c | ||
file.c | ||
hexdump.c | ||
internal.h | ||
pair.c | ||
printf.c | ||
socket_helper.c | ||
socket.c |