summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-03-18 13:13:47 +0100
committerRichard Levitte <levitte@openssl.org>2021-03-19 16:46:39 +0100
commit695c96ba5160a8053c2ff98c0f8971b44c195cbb (patch)
treee057c74008ca2fc61bbe1021a04ffb4233ddf234 /include/crypto
parent55d9ccca8eec8ec57ab85175dea908f8b76fd4e1 (diff)
downloadopenssl-new-695c96ba5160a8053c2ff98c0f8971b44c195cbb.tar.gz
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 <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14314)
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/evp.h4
1 files changed, 0 insertions, 4 deletions
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