boringssl/crypto/x509v3
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
..
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
ext_dat.h Inital import. 2014-06-20 13:17:32 -07:00
pcy_cache.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_data.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_int.h Inital import. 2014-06-20 13:17:32 -07:00
pcy_lib.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_map.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_node.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_tree.c Add X509_up_ref and use it internally. 2014-08-07 00:06:34 +00:00
tabtest.c Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00:00
v3_akey.c Inital import. 2014-06-20 13:17:32 -07:00
v3_akeya.c Inital import. 2014-06-20 13:17:32 -07:00
v3_alt.c Inital import. 2014-06-20 13:17:32 -07:00
v3_bcons.c Inital import. 2014-06-20 13:17:32 -07:00
v3_bitst.c Inital import. 2014-06-20 13:17:32 -07:00
v3_conf.c Inital import. 2014-06-20 13:17:32 -07:00
v3_cpols.c Inital import. 2014-06-20 13:17:32 -07:00
v3_crld.c Inital import. 2014-06-20 13:17:32 -07:00
v3_enum.c Inital import. 2014-06-20 13:17:32 -07:00
v3_extku.c Inital import. 2014-06-20 13:17:32 -07:00
v3_genn.c Inital import. 2014-06-20 13:17:32 -07:00
v3_ia5.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
v3_info.c Inital import. 2014-06-20 13:17:32 -07:00
v3_int.c Inital import. 2014-06-20 13:17:32 -07:00
v3_lib.c Add extension free function. 2014-06-20 13:17:38 -07:00
v3_ncons.c Add OPENSSL_str[n]casecmp 2014-06-20 13:17:43 -07:00
v3_pci.c Inital import. 2014-06-20 13:17:32 -07:00
v3_pcia.c Inital import. 2014-06-20 13:17:32 -07:00
v3_pcons.c Inital import. 2014-06-20 13:17:32 -07:00
v3_pku.c Inital import. 2014-06-20 13:17:32 -07:00
v3_pmaps.c Inital import. 2014-06-20 13:17:32 -07:00
v3_prn.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
v3_purp.c unifdef a bunch of OPENSSL_NO_* ifdefs. 2014-08-28 00:41:34 +00:00
v3_skey.c Inital import. 2014-06-20 13:17:32 -07:00
v3_sxnet.c Inital import. 2014-06-20 13:17:32 -07:00
v3_utl.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
v3nametest.c Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00:00
x509v3_error.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00