ENABLED_FIPS doesn't hold the version; FIPS_VERSION does.

Found with:

./configure --enable-engine=fips=v2
This commit is contained in:
Anthony Hu
2022-12-16 13:42:01 -05:00
parent 5c21e40bce
commit 24d7f85016

View File

@ -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"