From 2f205fc496e32a59666f26b4fbb2774af06a86f4 Mon Sep 17 00:00:00 2001 From: Pauli Date: Wed, 13 Aug 2025 12:58:03 +1000 Subject: [PATCH] crng test: make indicator parameter conditional on FIPS Reviewed-by: Shane Lontis Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28243) --- providers/implementations/rands/fips_crng_test.c.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/implementations/rands/fips_crng_test.c.in b/providers/implementations/rands/fips_crng_test.c.in index 0ed90951f29..5e004ce45d3 100644 --- a/providers/implementations/rands/fips_crng_test.c.in +++ b/providers/implementations/rands/fips_crng_test.c.in @@ -369,7 +369,7 @@ static void crng_test_unlock(ossl_unused void *vcrngt) (['RAND_PARAM_STATE', 'state', 'int'], ['RAND_PARAM_STRENGTH', 'str', 'uint'], ['RAND_PARAM_MAX_REQUEST', 'maxreq', 'size_t'], - ['RAND_PARAM_FIPS_APPROVED_INDICATOR', 'ind', 'int'], + ['RAND_PARAM_FIPS_APPROVED_INDICATOR', 'ind', 'int', 'fips'], )); -} static int crng_test_get_ctx_params(void *vcrngt, OSSL_PARAM params[]) -- 2.47.3