mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
fix configure, compatibility layer needed big int. for BN use
This commit is contained in:
10
configure.ac
10
configure.ac
@ -3960,11 +3960,6 @@ if test "$ENABLED_ASN" = "no"
|
|||||||
then
|
then
|
||||||
AM_CFLAGS="$AM_CFLAGS -DNO_ASN -DNO_ASN_CRYPT"
|
AM_CFLAGS="$AM_CFLAGS -DNO_ASN -DNO_ASN_CRYPT"
|
||||||
enable_pwdbased=no
|
enable_pwdbased=no
|
||||||
if test "$ENABLED_DH" = "no" && test "$ENABLED_ECC" = "no"
|
|
||||||
then
|
|
||||||
# DH and ECC need bigint
|
|
||||||
AM_CFLAGS="$AM_CFLAGS -DNO_BIG_INT"
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
if test "$ENABLED_ASN" = "template"; then
|
if test "$ENABLED_ASN" = "template"; then
|
||||||
ENABLED_ASN="yes"
|
ENABLED_ASN="yes"
|
||||||
@ -4007,10 +4002,11 @@ then
|
|||||||
AC_MSG_ERROR([please disable ecc if disabling asn.])
|
AC_MSG_ERROR([please disable ecc if disabling asn.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# No Big Int (ASN, DSA, RSA, DH and ECC need bigint)
|
# No Big Int (ASN, DSA, RSA, DH, ECC and compatibility layer need bigint)
|
||||||
if test "$ENABLED_ASN" = "no" && test "$ENABLED_DSA" = "no" && \
|
if test "$ENABLED_ASN" = "no" && test "$ENABLED_DSA" = "no" && \
|
||||||
test "$ENABLED_DH" = "no" && test "$ENABLED_ECC" = "no" && \
|
test "$ENABLED_DH" = "no" && test "$ENABLED_ECC" = "no" && \
|
||||||
test "$ENABLED_RSA" = "no"
|
test "$ENABLED_RSA" = "no" && test "$ENABLED_OPENSSLEXTRA" = "no" && \
|
||||||
|
test "$ENABLED_OPENSSLALL" ="yes"
|
||||||
then
|
then
|
||||||
ENABLED_SP_MATH_ALL="no"
|
ENABLED_SP_MATH_ALL="no"
|
||||||
ENABLED_FASTMATH="no"
|
ENABLED_FASTMATH="no"
|
||||||
|
Reference in New Issue
Block a user