From 3597034a4224aaad4b2529fb514650b27d94fff9 Mon Sep 17 00:00:00 2001 From: Hideki Miyazaki Date: Fri, 25 Nov 2022 08:41:11 +0900 Subject: [PATCH] must have SP enabled with SP math --- configure.ac | 8 -------- 1 file changed, 8 deletions(-) diff --git a/configure.ac b/configure.ac index e7d05becd..1817e7d77 100644 --- a/configure.ac +++ b/configure.ac @@ -6716,14 +6716,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])