Update providers/implementations/rands/drbg_hmac.c

Co-authored-by: Pauli <ppzgs1@gmail.com>

Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/29570)
This commit is contained in:
Neil Horman
2026-01-09 10:14:33 -05:00
committed by Norbert Pocs
parent e0c3b4b541
commit d0836ad7f7

View File

@@ -420,7 +420,7 @@ static int drbg_fetch_algs_from_prov(const OSSL_PARAM params[],
const char *hmac_name = NULL;
EVP_MD *md = NULL;
EVP_MAC *mac = NULL;
OSSL_PARAM mac_params[3], *mp = mac_params;
OSSL_PARAM mac_params[2], *mp = mac_params;
int ret = 0;
if (macctx == NULL || digest == NULL)