forked from wolfSSL/wolfssl
must have SP enabled with SP math
This commit is contained in:
@@ -6716,14 +6716,6 @@ if test "$ENABLED_SP_NONBLOCK" = "yes"; then
|
|||||||
AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_SP_NONBLOCK"
|
AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_SP_NONBLOCK"
|
||||||
fi
|
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_MATH" = "yes"; then
|
||||||
if test "$ENABLED_SP" = "no"; then
|
if test "$ENABLED_SP" = "no"; then
|
||||||
AC_MSG_ERROR([Must have SP enabled with SP math: --enable-sp])
|
AC_MSG_ERROR([Must have SP enabled with SP math: --enable-sp])
|
||||||
|
Reference in New Issue
Block a user