From: Pauli Date: Wed, 13 Aug 2025 02:57:41 +0000 (+1000) Subject: test_rng: make indicator parameter conditional on FIPS X-Git-Tag: openssl-3.6.0-alpha1~112 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b830ebaf62cdbb7e572d4580b5569533dc15c88f;p=thirdparty%2Fopenssl.git test_rng: 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/test_rng.c.in b/providers/implementations/rands/test_rng.c.in index 3c76c3fea10..a6e8d741cee 100644 --- a/providers/implementations/rands/test_rng.c.in +++ b/providers/implementations/rands/test_rng.c.in @@ -190,7 +190,7 @@ static size_t test_rng_nonce(void *vtest, unsigned char *out, ['RAND_PARAM_STRENGTH', 'str', 'uint'], ['RAND_PARAM_MAX_REQUEST', 'maxreq', 'size_t'], ['RAND_PARAM_GENERATE', 'gen', 'uint'], - ['RAND_PARAM_FIPS_APPROVED_INDICATOR', 'ind', 'int'], + ['RAND_PARAM_FIPS_APPROVED_INDICATOR', 'ind', 'int', 'fips'], )); -} static int test_rng_get_ctx_params(void *vtest, OSSL_PARAM params[])