Teach the ASN.1 code how to create embedded objects with libctx/propq
authorMatt Caswell <matt@openssl.org>
Fri, 21 May 2021 16:25:05 +0000 (17:25 +0100)
committerPauli <pauli@openssl.org>
Sat, 5 Jun 2021 07:39:10 +0000 (17:39 +1000)
commitc8a9af97c928118ae4626d793d0b73552648b7ea
tree504d0665a688d105af2562f1d7e63ca8ccec6ac0
parent62653483464b78ae57bff9b807ee3328e0f078f3
Teach the ASN.1 code how to create embedded objects with libctx/propq

An ASN.1 object such as an X509 may have embedded objects in it such as
an X509_PUBKEY. If there is a libctx/propq in use then we need to make sure
we pass these down to the constructors of these embedded objects.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15591)
crypto/asn1/tasn_new.c
crypto/x509/x_pubkey.c
crypto/x509/x_x509.c
include/openssl/asn1.h.in
include/openssl/asn1t.h.in
util/libcrypto.num