From: Pauli Date: Thu, 25 Feb 2021 03:47:01 +0000 (+1000) Subject: apps: update fipsinstall to work with additional MAC_init arguments X-Git-Tag: openssl-3.0.0-alpha13~141 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=ebf8274c552bd7543119a138cfa86728711a1431 apps: update fipsinstall to work with additional MAC_init arguments Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/14310) --- diff --git a/apps/fipsinstall.c b/apps/fipsinstall.c index 4a1b89d92c..ade983169b 100644 --- a/apps/fipsinstall.c +++ b/apps/fipsinstall.c @@ -78,7 +78,7 @@ static int do_mac(EVP_MAC_CTX *ctx, unsigned char *tmp, BIO *in, int i; size_t outsz = *out_len; - if (!EVP_MAC_init(ctx)) + if (!EVP_MAC_init(ctx, NULL, 0, NULL)) goto err; if (EVP_MAC_CTX_get_mac_size(ctx) > outsz) goto end;