summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-03-18 13:15:18 +0100
committerRichard Levitte <levitte@openssl.org>2021-03-19 16:46:39 +0100
commitaff442dc38707a5ab4a7acc811c9ef10cbdd3346 (patch)
tree3ebe4a8c8b1dc6676e131ade8606bde081377e46 /include
parentMake evp_privatekey_from_binary() completely libcrypto internal (diff)
downloadopenssl-aff442dc38707a5ab4a7acc811c9ef10cbdd3346.tar.xz
openssl-aff442dc38707a5ab4a7acc811c9ef10cbdd3346.zip
Make ossl_d2i_PUBKEY_legacy() completely libcrypto internal
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14314)
Diffstat (limited to 'include')
-rw-r--r--include/crypto/x509.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/crypto/x509.h b/include/crypto/x509.h
index 98aea5f1fd..09b1fb15e3 100644
--- a/include/crypto/x509.h
+++ b/include/crypto/x509.h
@@ -326,10 +326,6 @@ int ossl_x509_PUBKEY_get0_libctx(OSSL_LIB_CTX **plibctx, const char **ppropq,
/* Calculate default key identifier according to RFC 5280 section 4.2.1.2 (1) */
ASN1_OCTET_STRING *ossl_x509_pubkey_hash(X509_PUBKEY *pubkey);
-/* A variant of d2i_PUBKEY() that is guaranteed to only return legacy keys */
-EVP_PKEY *ossl_d2i_PUBKEY_legacy(EVP_PKEY **a,
- const unsigned char **in, long length);
-
RSA *ossl_d2i_RSA_PSS_PUBKEY(RSA **a, const unsigned char **pp, long length);
int ossl_i2d_RSA_PSS_PUBKEY(const RSA *a, unsigned char **pp);
# ifndef OPENSSL_NO_DH