openssl/crypto/asn1
Richard Levitte 6e34a1048c ASN1: Reset the content dump flag after dumping
When encountering a badly coded item, the DER printer (ASN1_print_dump())
sets a flag to ensure that an additional hex dump of the offending content
is printed as part of the output.  Unfortunately, this flag is never reset,
which means that all following items are printed with the extra hex dump,
whether they are faulty or not.

Resetting the flag after hex dumping ensures that only the faulty contents
are printed with the additional hex dump.

Fixes #14626

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14627)
2021-03-21 12:29:06 +01:00
..
a_bitstr.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_d2i_fp.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
a_digest.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_dup.c X509_dup: fix copying of libctx and propq using new ASN1_OP_DUP_POST cb operation 2020-11-27 16:53:32 +01:00
a_gentm.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_i2d_fp.c Update copyright year 2020-11-26 14:18:57 +00:00
a_int.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_mbstr.c ASN1: check the Unicode code point range in ASN1_mbstring_copy() 2021-03-18 14:12:48 +10:00
a_object.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_octet.c
a_print.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
a_sign.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
a_strex.c Update copyright year 2021-03-11 13:27:36 +00:00
a_strnid.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
a_time.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_type.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_utctm.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_utf8.c ASN1: limit the Unicode code point range in UTF8_getc() and UTF8_putc() 2021-03-18 14:12:48 +10:00
a_verify.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
ameth_lib.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
asn1_err.c Check that multi-strings/CHOICE types don't use implicit tagging 2020-12-08 10:17:03 +00:00
asn1_gen.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
asn1_item_list.c Update copyright year 2020-11-26 14:18:57 +00:00
asn1_item_list.h Update copyright year 2021-01-28 13:54:57 +01:00
asn1_lib.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
asn1_local.h Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
asn1_par.c ASN1: Reset the content dump flag after dumping 2021-03-21 12:29:06 +01:00
asn_mime.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
asn_moid.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
asn_mstbl.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
asn_pack.c Update copyright year 2020-11-26 14:18:57 +00:00
bio_asn1.c Update copyright year 2020-11-26 14:18:57 +00:00
bio_ndef.c Update copyright year 2021-03-11 13:27:36 +00:00
build.info Adapt libcrypto functionality to specify the desired output structure 2020-11-11 12:43:27 +01:00
charmap.h Update copyright years of auto-generated headers (make update) 2021-01-04 07:15:24 +01:00
charmap.pl Update copyright year 2020-04-23 13:55:52 +01:00
d2i_param.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
d2i_pr.c Make evp_privatekey_from_binary() completely libcrypto internal 2021-03-19 16:46:39 +01:00
d2i_pu.c Drop OPENSSL_NO_RSA everywhere 2020-12-20 12:19:42 +01:00
evp_asn1.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
f_int.c Update copyright year 2020-11-26 14:18:57 +00:00
f_string.c Update copyright year 2020-11-26 14:18:57 +00:00
i2d_evp.c crypto/asn1/i2d_evp.c: Fix i2d_provided() to return a proper length 2021-02-27 16:14:09 +01:00
n_pkey.c Update copyright year 2020-04-23 13:55:52 +01:00
nsseq.c
p5_pbe.c Update copyright year 2020-11-26 14:18:57 +00:00
p5_pbev2.c Update copyright year 2020-11-26 14:18:57 +00:00
p5_scrypt.c Update copyright year 2020-11-26 14:18:57 +00:00
p8_pkey.c Update copyright year 2020-04-23 13:55:52 +01:00
standard_methods.h Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
t_bitst.c
t_pkey.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
t_spki.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
tasn_dec.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tasn_enc.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tasn_fre.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tasn_new.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tasn_prn.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tasn_scn.c Update copyright year 2020-11-26 14:18:57 +00:00
tasn_typ.c
tasn_utl.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tbl_standard.h Update copyright year 2020-10-15 14:10:06 +01:00
x_algor.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
x_bignum.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
x_info.c Update copyright year 2020-11-26 14:18:57 +00:00
x_int64.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
x_long.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
x_pkey.c Update copyright year 2020-11-26 14:18:57 +00:00
x_sig.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
x_spki.c
x_val.c