summaryrefslogtreecommitdiffstats
path: root/crypto/evp/mac_lib.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-10-13 14:22:17 +1000
committerShane Lontis <shane.lontis@oracle.com>2020-10-22 20:47:02 +1000
commit90a2576b9bbb327141df0bd244830b462fcaeee6 (patch)
tree0e00ad4ca3e8d47598407a15299033a96da2b78b /crypto/evp/mac_lib.c
parent42445046354a4ac7671143600e888c6b230e56ff (diff)
Rename EVP_MAC_size() to EVP_MAC_CTX_get_mac_size().
Fixes #11320 Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13116)
Diffstat (limited to 'crypto/evp/mac_lib.c')
-rw-r--r--crypto/evp/mac_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/mac_lib.c b/crypto/evp/mac_lib.c
index d76ffedcb8..ac8bfb150c 100644
--- a/crypto/evp/mac_lib.c
+++ b/crypto/evp/mac_lib.c
@@ -82,7 +82,7 @@ EVP_MAC *EVP_MAC_CTX_mac(EVP_MAC_CTX *ctx)
return ctx->meth;
}
-size_t EVP_MAC_size(EVP_MAC_CTX *ctx)
+size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx)
{
size_t sz = 0;
@@ -124,7 +124,7 @@ int EVP_MAC_final(EVP_MAC_CTX *ctx,
if (out != NULL)
res = ctx->meth->final(ctx->data, out, &l, outsize);
else
- l = EVP_MAC_size(ctx);
+ l = EVP_MAC_CTX_get_mac_size(ctx);
if (outl != NULL)
*outl = l;
return res;