summaryrefslogtreecommitdiffstats
path: root/crypto/evp/mac_meth.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-06-04 18:14:38 +0200
committerRichard Levitte <levitte@openssl.org>2019-08-15 22:12:25 +0200
commit7dd0f299387bac79c304dc7cb8056cd4684fb91f (patch)
tree998fd65c67d68fa2af872a3459d9a3717a9d7c8a /crypto/evp/mac_meth.c
parentbb31895d87a57e7bb1d3f0939edc53d674094ea4 (diff)
Add EVP_MAC_provider()
For information processing. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/8877)
Diffstat (limited to 'crypto/evp/mac_meth.c')
-rw-r--r--crypto/evp/mac_meth.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/evp/mac_meth.c b/crypto/evp/mac_meth.c
index 983b2dbd2e..e2bb016c0f 100644
--- a/crypto/evp/mac_meth.c
+++ b/crypto/evp/mac_meth.c
@@ -173,6 +173,11 @@ const char *EVP_MAC_name(const EVP_MAC *mac)
return mac->name;
}
+const OSSL_PROVIDER *EVP_MAC_provider(const EVP_MAC *mac)
+{
+ return mac->prov;
+}
+
const OSSL_PARAM *EVP_MAC_gettable_params(const EVP_MAC *mac)
{
if (mac->gettable_params == NULL)