diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-10-13 14:22:17 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2020-10-22 20:47:02 +1000 |
commit | 90a2576b9bbb327141df0bd244830b462fcaeee6 (patch) | |
tree | 0e00ad4ca3e8d47598407a15299033a96da2b78b /apps/fipsinstall.c | |
parent | 42445046354a4ac7671143600e888c6b230e56ff (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 'apps/fipsinstall.c')
-rw-r--r-- | apps/fipsinstall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/fipsinstall.c b/apps/fipsinstall.c index cb78489eef..d1cda24941 100644 --- a/apps/fipsinstall.c +++ b/apps/fipsinstall.c @@ -80,7 +80,7 @@ static int do_mac(EVP_MAC_CTX *ctx, unsigned char *tmp, BIO *in, if (!EVP_MAC_init(ctx)) goto err; - if (EVP_MAC_size(ctx) > outsz) + if (EVP_MAC_CTX_get_mac_size(ctx) > outsz) goto end; while ((i = BIO_read(in, (char *)tmp, BUFSIZE)) != 0) { if (i < 0 || !EVP_MAC_update(ctx, tmp, i)) |