boringssl/crypto/x509
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
..
a_digest.c Inital import. 2014-06-20 13:17:32 -07:00
a_sign.c Inital import. 2014-06-20 13:17:32 -07:00
a_strex.c Const correctness. 2014-06-20 13:17:36 -07:00
a_verify.c Don't try and verify signatures if key is NULL (CVE-2013-0166) 2014-06-20 13:17:39 -07:00
asn1_gen.c Inital import. 2014-06-20 13:17:32 -07:00
by_dir.c Try both old and new X.509 hashes. 2014-06-20 15:31:01 -07:00
by_file.c Inital import. 2014-06-20 13:17:32 -07:00
charmap.h Inital import. 2014-06-20 13:17:32 -07:00
CMakeLists.txt Add PKCS7_bundle_certificates. 2014-08-07 18:12:25 +00:00
i2d_pr.c Inital import. 2014-06-20 13:17:32 -07:00
pkcs7_test.c Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00:00
pkcs7.c Rework support for ASN.1 BER. 2014-08-25 21:38:08 +00:00
t_crl.c Inital import. 2014-06-20 13:17:32 -07:00
t_x509.c Memory leak and NULL dereference fixes. 2014-07-28 17:05:12 -07:00
t_x509a.c Inital import. 2014-06-20 13:17:32 -07:00
vpm_int.h Fixes to host checking. 2014-06-20 13:17:40 -07:00
x509_att.c Inital import. 2014-06-20 13:17:32 -07:00
x509_cmp.c unifdef a bunch of OPENSSL_NO_* ifdefs. 2014-08-28 00:41:34 +00:00
x509_d2.c Inital import. 2014-06-20 13:17:32 -07:00
x509_def.c Inital import. 2014-06-20 13:17:32 -07:00
x509_error.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
x509_ext.c Inital import. 2014-06-20 13:17:32 -07:00
x509_lu.c Add X509_up_ref and use it internally. 2014-08-07 00:06:34 +00:00
x509_obj.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
x509_r2x.c Inital import. 2014-06-20 13:17:32 -07:00
x509_req.c unifdef a bunch of OPENSSL_NO_* ifdefs. 2014-08-28 00:41:34 +00:00
x509_set.c Inital import. 2014-06-20 13:17:32 -07:00
x509_trs.c Const correctness. 2014-06-20 13:17:36 -07:00
x509_txt.c Inital import. 2014-06-20 13:17:32 -07:00
x509_v3.c Inital import. 2014-06-20 13:17:32 -07:00
x509_vfy.c Add X509_up_ref and use it internally. 2014-08-07 00:06:34 +00:00
x509_vpm.c Fix mis-sized allocation in x509_vpm.c 2014-07-30 00:33:49 +00:00
x509.c Inital import. 2014-06-20 13:17:32 -07:00
x509cset.c Inital import. 2014-06-20 13:17:32 -07:00
x509name.c Inital import. 2014-06-20 13:17:32 -07:00
x509rset.c Inital import. 2014-06-20 13:17:32 -07:00
x509spki.c Introduce EVP_DecodeBase64. 2014-08-25 23:00:28 +00:00
x509type.c Inital import. 2014-06-20 13:17:32 -07:00
x_algor.c Inital import. 2014-06-20 13:17:32 -07:00
x_all.c unifdef a bunch of OPENSSL_NO_* ifdefs. 2014-08-28 00:41:34 +00:00
x_attrib.c Inital import. 2014-06-20 13:17:32 -07:00
x_crl.c unifdef a bunch of OPENSSL_NO_* ifdefs. 2014-08-28 00:41:34 +00:00
x_exten.c Inital import. 2014-06-20 13:17:32 -07:00
x_info.c Inital import. 2014-06-20 13:17:32 -07:00
x_name.c Inital import. 2014-06-20 13:17:32 -07:00
x_pkey.c Inital import. 2014-06-20 13:17:32 -07:00
x_pubkey.c unifdef a bunch of OPENSSL_NO_* ifdefs. 2014-08-28 00:41:34 +00:00
x_req.c Inital import. 2014-06-20 13:17:32 -07:00
x_sig.c Inital import. 2014-06-20 13:17:32 -07:00
x_spki.c Inital import. 2014-06-20 13:17:32 -07:00
x_val.c Inital import. 2014-06-20 13:17:32 -07:00
x_x509.c Add X509_up_ref and use it internally. 2014-08-07 00:06:34 +00:00
x_x509a.c Inital import. 2014-06-20 13:17:32 -07:00