From: Pauli Date: Wed, 27 Nov 2024 00:18:38 +0000 (+1100) Subject: ec: change FIPS zeroization to use the OPENSSL_PEDANTIC_ZEROIZATION define X-Git-Tag: openssl-3.5.0-alpha1~877 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f471061721a2c36dc9ea7c3a4e685b29e00cccda;p=thirdparty%2Fopenssl.git ec: 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) --- diff --git a/crypto/ec/ec_lib.c b/crypto/ec/ec_lib.c index 284fc05951b..19384eba186 100644 --- a/crypto/ec/ec_lib.c +++ b/crypto/ec/ec_lib.c @@ -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)