From 5e2d22d53ed322a7124e26a4fbd116a8210eb77a Mon Sep 17 00:00:00 2001 From: Jon Spillett Date: Tue, 18 May 2021 13:37:35 +1000 Subject: Pass library context and property query into private key decoders Reviewed-by: Shane Lontis Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14587) --- include/crypto/pem.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/crypto/pem.h b/include/crypto/pem.h index 2a0e6424a5..840dc18f06 100644 --- a/include/crypto/pem.h +++ b/include/crypto/pem.h @@ -40,8 +40,12 @@ EVP_PKEY *ossl_b2i_bio(BIO *in, int *ispub); # ifndef OPENSSL_NO_DEPRECATED_3_0 # ifndef OPENSSL_NO_DSA DSA *b2i_DSA_PVK_bio(BIO *in, pem_password_cb *cb, void *u); +DSA *b2i_DSA_PVK_bio_ex(BIO *in, pem_password_cb *cb, void *u, + OSSL_LIB_CTX *libctx, const char *propq); # endif RSA *b2i_RSA_PVK_bio(BIO *in, pem_password_cb *cb, void *u); +RSA *b2i_RSA_PVK_bio_ex(BIO *in, pem_password_cb *cb, void *u, + OSSL_LIB_CTX *libctx, const char *propq); # endif #endif -- cgit v1.2.3