ec: 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
0b05db0e20
commit
f471061721
@ -746,7 +746,7 @@ void EC_POINT_free(EC_POINT *point)
|
||||
if (point == NULL)
|
||||
return;
|
||||
|
||||
#ifdef FIPS_MODULE
|
||||
#ifdef OPENSSL_PEDANTIC_ZEROIZATION
|
||||
EC_POINT_clear_free(point);
|
||||
#else
|
||||
if (point->meth->point_finish != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user