boringssl/crypto/asn1
David Benjamin 1716b3d172 Reject invalid constructed encodings.
According to X6.90 null, object identifier, boolean, integer and enumerated
types can only have primitive encodings: return an error if any of
these are received with a constructed encoding.

(Imported from upstream's 89f40f369f414b52e00f7230b0e3ce99e430a508.)

Change-Id: Ia5d15eef72e379119f50fdbac4e92c4761bf5eaf
Reviewed-on: https://boringssl-review.googlesource.com/2835
Reviewed-by: Adam Langley <agl@google.com>
2015-01-14 21:49:23 +00:00
..
a_bitstr.c Inital import. 2014-06-20 13:17:32 -07:00
a_bool.c Inital import. 2014-06-20 13:17:32 -07:00
a_bytes.c Inital import. 2014-06-20 13:17:32 -07:00
a_d2i_fp.c Inital import. 2014-06-20 13:17:32 -07:00
a_dup.c Inital import. 2014-06-20 13:17:32 -07:00
a_enum.c Inital import. 2014-06-20 13:17:32 -07:00
a_gentm.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
a_i2d_fp.c Inital import. 2014-06-20 13:17:32 -07:00
a_int.c Inital import. 2014-06-20 13:17:32 -07:00
a_mbstr.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
a_object.c Fix OID handling. 2014-08-07 21:09:47 +00:00
a_octet.c Inital import. 2014-06-20 13:17:32 -07:00
a_print.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
a_strnid.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
a_time.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
a_type.c Fix various certificate fingerprint issues. 2015-01-09 19:41:59 +00:00
a_utctm.c Memory leak and NULL dereference fixes. 2014-07-28 17:05:12 -07:00
a_utf8.c Inital import. 2014-06-20 13:17:32 -07:00
asn1_error.c Reject invalid constructed encodings. 2015-01-14 21:49:23 +00:00
asn1_lib.c Add visibility rules. 2014-07-31 22:03:11 +00:00
asn1_locl.h Move the X509_NAME typedef into x509.h. 2014-10-28 22:38:38 +00:00
asn1_par.c Inital import. 2014-06-20 13:17:32 -07:00
asn_pack.c Remove some dead code. 2014-08-19 19:00:49 +00:00
bio_asn1.c Memory leak and NULL dereference fixes. 2014-07-28 17:05:12 -07:00
bio_ndef.c Inital import. 2014-06-20 13:17:32 -07:00
charmap.pl Add license to charmap.pl. 2014-06-30 16:48:53 -07:00
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
f_enum.c Fix a2i_ASN1_* leak on failure. 2014-11-06 01:29:59 +00:00
f_int.c Fix a2i_ASN1_* leak on failure. 2014-11-06 01:29:59 +00:00
f_string.c Fix a2i_ASN1_* leak on failure. 2014-11-06 01:29:59 +00:00
t_bitst.c Inital import. 2014-06-20 13:17:32 -07:00
t_pkey.c Inital import. 2014-06-20 13:17:32 -07:00
tasn_dec.c Reject invalid constructed encodings. 2015-01-14 21:49:23 +00:00
tasn_enc.c Memory leak and NULL dereference fixes. 2014-07-28 17:05:12 -07:00
tasn_fre.c Inital import. 2014-06-20 13:17:32 -07:00
tasn_new.c Inital import. 2014-06-20 13:17:32 -07:00
tasn_prn.c Const correctness. 2014-06-20 13:17:36 -07:00
tasn_typ.c Inital import. 2014-06-20 13:17:32 -07:00
tasn_utl.c Inital import. 2014-06-20 13:17:32 -07:00
x_bignum.c Add malloc failure tests. 2014-11-19 01:24:46 +00:00
x_long.c Inital import. 2014-06-20 13:17:32 -07:00