From: Pauli Date: Wed, 16 Jul 2025 08:09:54 +0000 (+1000) Subject: macsig: call updated ossl_prov_set_macctx function X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b8c7b936eb0235aebdeff96dae51fd7c6c08ecd;p=thirdparty%2Fopenssl.git macsig: call updated ossl_prov_set_macctx function Reviewed-by: Shane Lontis Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27923) --- diff --git a/providers/implementations/signature/mac_legacy_sig.c b/providers/implementations/signature/mac_legacy_sig.c index b25a74506ab..92132b79ec7 100644 --- a/providers/implementations/signature/mac_legacy_sig.c +++ b/providers/implementations/signature/mac_legacy_sig.c @@ -122,12 +122,11 @@ static int mac_digest_sign_init(void *vpmacctx, const char *mdname, void *vkey, engine = (char *)ENGINE_get_id(pmacctx->key->cipher.engine); #endif - if (!ossl_prov_set_macctx(pmacctx->macctx, NULL, + if (!ossl_prov_set_macctx(pmacctx->macctx, (char *)ciphername, (char *)mdname, (char *)engine, - pmacctx->key->properties, - NULL, 0)) + pmacctx->key->properties)) return 0; if (!EVP_MAC_init(pmacctx->macctx, pmacctx->key->priv_key,