From: Pauli Date: Wed, 13 Aug 2025 02:58:03 +0000 (+1000) Subject: crng test: make indicator parameter conditional on FIPS X-Git-Tag: openssl-3.6.0-alpha1~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f205fc496e32a59666f26b4fbb2774af06a86f4;p=thirdparty%2Fopenssl.git 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) --- 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[])