RSA max and SP_INT_BITS: disabled RSA fix

Checking WOLFSSL_MAX_RSA_BITS against SP_INT_BITS even though RSA is
disabled.

/configure --disable-shared --enable-sp --enable-sp-math --disable-rsa
--disable-dh --enable-ecc
This commit is contained in:
Sean Parkinson
2022-09-06 17:15:22 +10:00
parent e7dbb5b375
commit 4b12d2f4ec

View File

@ -1231,7 +1231,7 @@ enum {
#error "MySQL needs SP_INT_BITS at least at 8192"
#endif
#if WOLFSSL_MAX_RSA_BITS > SP_INT_BITS
#if !defined(NO_RSA) && WOLFSSL_MAX_RSA_BITS > SP_INT_BITS
#error "SP_INT_BITS too small for WOLFSSL_MAX_RSA_BITS"
#endif
#else