From 24d7f85016dbab31b12bd8a51c13391bd82df133 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Fri, 16 Dec 2022 13:42:01 -0500 Subject: [PATCH] ENABLED_FIPS doesn't hold the version; FIPS_VERSION does. Found with: ./configure --enable-engine=fips=v2 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9f8152115..ae12f7287 100644 --- a/configure.ac +++ b/configure.ac @@ -8013,7 +8013,7 @@ then AM_CFLAGS="$AM_CFLAGS -DNO_OLD_MD5_NAME" fi -if test "$ENABLED_WOLFENGINE" = "yes" && test "$ENABLED_FIPS" != "v2" +if test "$ENABLED_WOLFENGINE" = "yes" && test "$FIPS_VERSION" != "v2" then AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_PSS_LONG_SALT" AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_PSS_SALT_LEN_DISCOVER"