mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
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:
parent
f471061721
commit
de22c10b97
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user