boringssl/crypto/bio
Vlad Tsyrklevich 02b1d1953a Refactor bio_io()
Refactor bio_io() to use a switch/case statement to call the correct BIO
method. This is cleaner and eliminates calling a function pointer cast
to an incompatible type signature, which conflicts with LLVMs
implementation of control flow integrity for indirect calls.

Change-Id: I5456635e1c9857cdce810758ba0000577cc94b01
Reviewed-on: https://boringssl-review.googlesource.com/19084
Reviewed-by: Adam Langley <agl@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
2017-08-14 23:14:57 +00:00
..
bio_mem.c Remove BIO puts hooks. 2017-02-02 22:22:08 +00:00
bio_test.cc Test with IPv6 by default, and IPv4 only if that fails. 2017-05-25 23:49:52 +00:00
bio.c Refactor bio_io() 2017-08-14 23:14:57 +00:00
CMakeLists.txt Convert bio_test to GTest. 2017-03-21 17:39:57 +00:00
connect.c Remove BIO puts hooks. 2017-02-02 22:22:08 +00:00
fd.c Remove BIO puts hooks. 2017-02-02 22:22:08 +00:00
file.c Remove BIO puts hooks. 2017-02-02 22:22:08 +00:00
hexdump.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
internal.h Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
pair.c Remove BIO puts hooks. 2017-02-02 22:22:08 +00:00
printf.c Fix all sign/unsigned warnings with Clang and GCC. 2015-10-27 22:48:00 +00:00
socket_helper.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
socket.c Remove BIO puts hooks. 2017-02-02 22:22:08 +00:00