Teach more of the ASN.1 code about libctx/propq
authorMatt Caswell <matt@openssl.org>
Tue, 25 May 2021 16:16:18 +0000 (17:16 +0100)
committerPauli <pauli@openssl.org>
Sat, 5 Jun 2021 07:39:10 +0000 (17:39 +1000)
commitdea2878fac8bde549fa0dd3b8e895703b174391b
tree8e0b77927b65d77397e6294086b2aabe5b851e7f
parentc8a9af97c928118ae4626d793d0b73552648b7ea
Teach more of the ASN.1 code about libctx/propq

Make sure we pass libctx/propq down to all the layers so that objects that
are created during parsing have the right values. Then use this new
capability for PKCS7.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15591)
12 files changed:
crypto/asn1/a_d2i_fp.c
crypto/asn1/asn1_local.h
crypto/asn1/asn_mime.c
crypto/asn1/tasn_dec.c
crypto/asn1/tasn_new.c
crypto/pkcs7/pk7_asn1.c
crypto/pkcs7/pk7_mime.c
crypto/x509/x_all.c
doc/man3/SMIME_read_ASN1.pod
include/openssl/asn1.h.in
include/openssl/asn1t.h.in
util/libcrypto.num