ffc: change FIPS zeroization to use the OPENSSL_PEDANTIC_ZEROIZATION define

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26068)
This commit is contained in:
Pauli 2024-11-27 11:18:51 +11:00 committed by Tomas Mraz
parent f471061721
commit de22c10b97

View File

@ -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);