From de22c10b97b5ef32087ce350d1062518a8a623de Mon Sep 17 00:00:00 2001 From: Pauli Date: Wed, 27 Nov 2024 11:18:51 +1100 Subject: [PATCH] ffc: change FIPS zeroization to use the OPENSSL_PEDANTIC_ZEROIZATION define Reviewed-by: Richard Levitte Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/26068) --- crypto/ffc/ffc_params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ffc/ffc_params.c b/crypto/ffc/ffc_params.c index d5cb310b7b..4101682a9a 100644 --- a/crypto/ffc/ffc_params.c +++ b/crypto/ffc/ffc_params.c @@ -27,7 +27,7 @@ void ossl_ffc_params_init(FFC_PARAMS *params) void ossl_ffc_params_cleanup(FFC_PARAMS *params) { -#ifdef FIPS_MODULE +#ifdef OPENSSL_PEDANTIC_ZEROIZATION BN_clear_free(params->p); BN_clear_free(params->q); BN_clear_free(params->g);