fix FIPS v2 check ($ENABLED_FIPS not set for v2)

This commit is contained in:
Kaleb Himes
2021-06-01 13:29:39 -06:00
committed by GitHub
parent 94831eadf1
commit 3a9c6ea924

View File

@ -2208,7 +2208,7 @@ then
then
AC_MSG_ERROR([cannot enable ed448 without enabling sha512.])
fi
if test "$ENABLED_FIPS" = "yes" && "$FIPS_VERSION" = "v2"
if test "$FIPS_VERSION" = "v2"
then
AC_MSG_ERROR([cannot enabled ed448 w/ dependency shake256 in FIPSv2 mode])
fi