summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-05-07 17:44:26 +0200
committerTomas Mraz <tomas@openssl.org>2021-05-13 13:19:39 +0200
commite9fe0f7e9df7e0909ca52a024b889e48616a29d9 (patch)
tree0063dedfae3fa67b80e46e5572743298a3eb2037 /include
parent3c39bd9b89198c6b3834c369c7da6f582788f645 (diff)
Replace EVP_PKEY_supports_digest_nid
The EVP_PKEY_supports_digest_nid() is renamed to EVP_PKEY_digestsign_supports_digest() and implemented via EVP_DigestSignInit_ex(). Fixes #14343 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15198)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/evp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h
index e17dec8a2c..27e14d07b6 100644
--- a/include/openssl/evp.h
+++ b/include/openssl/evp.h
@@ -1398,7 +1398,8 @@ int EVP_PKEY_print_params_fp(FILE *fp, const EVP_PKEY *pkey,
int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey, int *pnid);
int EVP_PKEY_get_default_digest_name(EVP_PKEY *pkey,
char *mdname, size_t mdname_sz);
-int EVP_PKEY_supports_digest_nid(EVP_PKEY *pkey, int nid);
+int EVP_PKEY_digestsign_supports_digest(EVP_PKEY *pkey, OSSL_LIB_CTX *libctx,
+ const char *name, const char *propq);
# ifndef OPENSSL_NO_DEPRECATED_3_0
/*