Teach d2i_PrivateKey et al about libctx
authorMatt Caswell <matt@openssl.org>
Mon, 6 Apr 2020 17:18:18 +0000 (18:18 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 15 Apr 2020 10:24:13 +0000 (11:24 +0100)
commit472a88b79e779342adc3b85b5bea318de038ae14
tree8a9a0eda32d60f98732f119c8f2f603576d2ea31
parentca59b00bbd701b9e5e7ce213f44a4d7577d6d2db
Teach d2i_PrivateKey et al about libctx

The Ed448 private key decoding makes algorithm fetches. Therefore we teach
d2i_PrivateKey et al about libctx and make sure it is passed through the
layers.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11494)
crypto/asn1/ameth_lib.c
crypto/asn1/d2i_pr.c
crypto/evp/evp_pkey.c
crypto/x509/x_all.c
include/crypto/asn1.h
include/crypto/evp.h
include/openssl/evp.h
include/openssl/x509.h
util/libcrypto.num