summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-12-02 17:52:24 +1000
committerShane Lontis <shane.lontis@oracle.com>2021-02-19 19:19:28 +1000
commit576892d78f80cf9a169e7f766319c843e430f378 (patch)
tree324a1adedd7008b364b4e70776eb0239bc894e09 /include
parentef33889e1878739a8355e8ba027b3ed21a917898 (diff)
Fix d2i_AutoPrivateKey_ex so that is uses the new decoder (and produces
non legacy keys). Fixes #13522 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13591)
Diffstat (limited to 'include')
-rw-r--r--include/crypto/evp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/crypto/evp.h b/include/crypto/evp.h
index 0269d8da5a..7f28edd6c2 100644
--- a/include/crypto/evp.h
+++ b/include/crypto/evp.h
@@ -854,4 +854,8 @@ int evp_set_default_properties_int(OSSL_LIB_CTX *libctx, const char *propq,
void evp_md_ctx_clear_digest(EVP_MD_CTX *ctx, int force);
+EVP_PKEY *evp_privatekey_from_binary(int keytype, EVP_PKEY **a,
+ const unsigned char **pp, long length,
+ OSSL_LIB_CTX *libctx, const char *propq);
+
#endif /* OSSL_CRYPTO_EVP_H */