diff --git a/configure.ac b/configure.ac index 55da7c29e..dad08a66f 100644 --- a/configure.ac +++ b/configure.ac @@ -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])