mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 03:07:29 +02:00
Make sure MAX_ECC_BITS >= MIN_ECC_BITS
This commit is contained in:
@ -10011,3 +10011,10 @@ if test "$MINGW_LIB_WARNING" = "yes"
|
|||||||
then
|
then
|
||||||
AC_MSG_WARN([Building with shared and static library at the same time on this system may cause export/import problems when using non contemporary GNU tools.])
|
AC_MSG_WARN([Building with shared and static library at the same time on this system may cause export/import problems when using non contemporary GNU tools.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test -n "$WITH_MAX_ECC_BITS"; then
|
||||||
|
if test "$WITH_MAX_ECC_BITS" -lt "$ENABLED_ECCMINSZ"; then
|
||||||
|
AC_MSG_ERROR([--with-max-ecc-bits argument ($WITH_MAX_ECC_BITS) must be greater than --with-eccminsz argument ($ENABLED_ECCMINSZ)])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user