Merge pull request #5819 from miyazakh/enable_sp_math_conf

must have SP enabled with SP math
This commit is contained in:
Sean Parkinson 2022-11-25 21:16:29 +10:00 committed by GitHub
commit ee91f4415d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6751,14 +6751,6 @@ if test "$ENABLED_SP_NONBLOCK" = "yes"; then
AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_SP_NONBLOCK"
fi
# Check that we enable SP with RSA, DH or ECC.
if test "$ENABLED_SP" = "no"; then
# Didn't need SP, don't need SP_MATH.
if test "$ENABLED_SP_MATH" = "yes"; then
ENABLED_SP_MATH=no
fi
fi
if test "$ENABLED_SP_MATH" = "yes"; then
if test "$ENABLED_SP" = "no"; then
AC_MSG_ERROR([Must have SP enabled with SP math: --enable-sp])