From 226b5a5ea48ecf06aa985ef20da90bb99d57bb93 Mon Sep 17 00:00:00 2001 From: Pauli Date: Wed, 13 Aug 2025 12:59:22 +1000 Subject: [PATCH] ctr drbg: 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/drbg_ctr.c.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/implementations/rands/drbg_ctr.c.in b/providers/implementations/rands/drbg_ctr.c.in index 2a19f71a96..9d129ef9db 100644 --- a/providers/implementations/rands/drbg_ctr.c.in +++ b/providers/implementations/rands/drbg_ctr.c.in @@ -689,7 +689,7 @@ static void drbg_ctr_free(void *vdrbg) ['DRBG_PARAM_RESEED_TIME', 'reseed_time', 'time_t'], ['DRBG_PARAM_RESEED_REQUESTS', 'reseed_req', 'uint'], ['DRBG_PARAM_RESEED_TIME_INTERVAL', 'reseed_int', 'uint64'], - ['KDF_PARAM_FIPS_APPROVED_INDICATOR', 'ind', 'int'], + ['KDF_PARAM_FIPS_APPROVED_INDICATOR', 'ind', 'int', 'fips'], )); -} static int drbg_ctr_get_ctx_params(void *vdrbg, OSSL_PARAM params[])