summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bf_readbuff.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-03-20 09:09:40 +0100
committerRichard Levitte <levitte@openssl.org>2021-03-21 12:29:06 +0100
commit6e34a1048ce4871371eac224b995c3b4338f6166 (patch)
tree04939afe7b57a5cd1addbdf52ea4c1f3cefd82d1 /crypto/bio/bf_readbuff.c
parentabded2ced44b94d96f08ea5cf01df6519b80f5d3 (diff)
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)
Diffstat (limited to 'crypto/bio/bf_readbuff.c')
0 files changed, 0 insertions, 0 deletions