boringssl/crypto/bio
David Benjamin a70c75cfc0 Add a CRYPTO_library_init and static-initializer-less build option.
Chromium does not like static initializers, and the CPU logic uses one to
initialize CPU bits. However, the crypto library lacks an explicit
initialization function, which could complicate (no compile-time errors)
porting existing code which uses crypto/, but not ssl/.

Add an explicit CRYPTO_library_init function, but make it a no-op by default.
It only does anything (and is required) if building with
BORINGSSL_NO_STATIC_INITIALIZER.

Change-Id: I6933bdc3447fb382b1f87c788e5b8142d6f3fe39
Reviewed-on: https://boringssl-review.googlesource.com/1770
Reviewed-by: Adam Langley <agl@google.com>
2014-09-12 00:10:53 +00:00
..
bio_error.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
bio_mem.c Fix minor issues found by Clang's analysis. 2014-09-02 22:39:41 +00:00
bio_test.c Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00:00
bio.c Recover BIO_number_{read|written}. 2014-08-14 16:37:05 +00:00
buffer.c Inital import. 2014-06-20 13:17:32 -07:00
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
connect.c Preserve the address length in bio/connect.c. 2014-07-18 00:56:04 +00:00
fd.c Include Windows.h in some source files. 2014-08-18 11:39:09 -07: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 Inital import. 2014-06-20 13:17:32 -07:00
printf.c Fix BIO_printf crash on Mac. 2014-08-04 21:11:21 +00:00
socket_helper.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
socket.c Inital import. 2014-06-20 13:17:32 -07:00