From 695c96ba5160a8053c2ff98c0f8971b44c195cbb Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 18 Mar 2021 13:13:47 +0100 Subject: Make evp_privatekey_from_binary() completely libcrypto internal We also rename it to d2i_PrivateKey_legacy(), to match d2i_PrivateKey_decoder() Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14314) --- include/crypto/evp.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/crypto/evp.h b/include/crypto/evp.h index 751b330b43..18c50cdd33 100644 --- a/include/crypto/evp.h +++ b/include/crypto/evp.h @@ -868,10 +868,6 @@ 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); - /* Three possible states: */ # define EVP_PKEY_STATE_UNKNOWN 0 # define EVP_PKEY_STATE_LEGACY 1 -- cgit v1.2.3