boringssl/crypto/x509
Adam Langley 58f90951eb Remove hack in parsing PKCS#12.
This change removes the previous OpenSSL/NSS hack in PKCS#12 parsing and
limits the hacks purely to the BER->DER conversion function, where they
belong.

PKCS#7 and #12 switch between implicit and explicit tags in different
places and sometimes only implicitly define that they are using implicit
tags. This change fixes a previous confusion where an implicit tag was
thought to be explicit.

Change-Id: Ib68c78cf2a1bfcbf90a296cb98313ab86ed2a1f3
Reviewed-on: https://boringssl-review.googlesource.com/1640
Reviewed-by: Adam Langley <agl@google.com>
2014-08-26 22:07:02 +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 Remove hack in parsing PKCS#12. 2014-08-26 22:07:02 +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 Add X509_up_ref and use it internally. 2014-08-07 00:06: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 Inital import. 2014-06-20 13:17:32 -07: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 Remove OPENSSL_NO_RSA 2014-07-07 20:20:53 +00:00
x_attrib.c Inital import. 2014-06-20 13:17:32 -07:00
x_crl.c Tolerate critical AKID in CRLs. 2014-07-28 17:05:12 -07: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 Use EVP_PKEY_dup instead of manually incrementing the refcount. 2014-08-07 00:03:56 +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