From f471061721a2c36dc9ea7c3a4e685b29e00cccda Mon Sep 17 00:00:00 2001 From: Pauli Date: Wed, 27 Nov 2024 11:18:38 +1100 Subject: [PATCH] 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) --- crypto/ec/ec_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ec/ec_lib.c b/crypto/ec/ec_lib.c index 284fc05951..19384eba18 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)