boringssl/crypto/bio
Håvard Molland 4e0a7e5a1d Cleanup of setting external buffer
Don't use |BIO_set_foo_buffer_size| when setting the
sizes of the buffers while making buffer pair. Since it
happens in pair.c we know the BIOs are BIO pairs and using
bio_ctrl here complicates setting external buffers. Also
zero out bio_bio_st during construction.

This fixes a problem that would happen if the default buffer
sizes were not set, since buf_externally_allocated was
not yet initialized.

Remove BIO_C_SET_BUFF_SIZE and BIO_CTRL_RESET which are
not used for bio pairs.

Change-Id: I365091d5f44f6f1c5522c325a771bdf03d8fe950
Reviewed-on: https://boringssl-review.googlesource.com/2370
Reviewed-by: Adam Langley <agl@google.com>
2014-11-24 17:46:00 +00:00
..
bio_error.c Add zero copy read and write api for bio pairs. 2014-11-18 14:06:46 -08:00
bio_mem.c Fix minor issues found by Clang's analysis. 2014-09-02 22:39:41 +00:00
bio_test.c Add zero copy read and write api for bio pairs. 2014-11-18 14:06:46 -08:00
bio.c Add misc functions for easier porting. 2014-09-18 22:38:11 +00:00
buffer.c Inital import. 2014-06-20 13:17:32 -07:00
CMakeLists.txt Fix standalone bio_test and v3name_test on Win64. 2014-10-29 21:17:27 +00:00
connect.c Account for Windows and UNIX socket API differences. 2014-10-01 02:05:43 +00:00
fd.c Account for Windows and UNIX socket API differences. 2014-10-01 02:05:43 +00:00
file.c Inital import. 2014-06-20 13:17:32 -07:00
hexdump.c Inital import. 2014-06-20 13:17:32 -07:00
internal.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
pair.c Cleanup of setting external buffer 2014-11-24 17:46:00 +00:00
printf.c Use _POSIX_C_SOURCE not _BSD_SOURCE. 2014-10-02 21:35:33 +00:00
socket_helper.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
socket.c Account for Windows and UNIX socket API differences. 2014-10-01 02:05:43 +00:00