Merge pull request #5557 from SparkiDev/sp_rsa_max_fix

RSA max and SP_INT_BITS: disabled RSA fix
pull/5560/head
David Garske 2022-09-06 07:52:18 -07:00 committed by GitHub
commit 1a3c34ea99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1231,7 +1231,7 @@ enum {
#error "MySQL needs SP_INT_BITS at least at 8192" #error "MySQL needs SP_INT_BITS at least at 8192"
#endif #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" #error "SP_INT_BITS too small for WOLFSSL_MAX_RSA_BITS"
#endif #endif
#else #else