aboutsummaryrefslogtreecommitdiff
path: root/ssl
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 /ssl
parent42445046354a4ac7671143600e888c6b230e56ff (diff)
downloadopenssl-90a2576b9bbb327141df0bd244830b462fcaeee6.zip
openssl-90a2576b9bbb327141df0bd244830b462fcaeee6.tar.gz
openssl-90a2576b9bbb327141df0bd244830b462fcaeee6.tar.bz2
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 'ssl')
-rw-r--r--ssl/t1_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index 1971a8e..8836069 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -3461,7 +3461,7 @@ int ssl_hmac_final(SSL_HMAC *ctx, unsigned char *md, size_t *len,
size_t ssl_hmac_size(const SSL_HMAC *ctx)
{
if (ctx->ctx != NULL)
- return EVP_MAC_size(ctx->ctx);
+ return EVP_MAC_CTX_get_mac_size(ctx->ctx);
#ifndef OPENSSL_NO_DEPRECATED_3_0
if (ctx->old_ctx != NULL)
return ssl_hmac_old_size(ctx);