Merge pull request #5904 from anhu/FIPS_fix

ENABLED_FIPS doesn't hold the version; FIPS_VERSION does.
This commit is contained in:
Kaleb Himes
2022-12-16 14:16:47 -07:00
committed by GitHub

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"