mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-04 13:14:45 +02:00
Fix bug in user_settings.h
which was incorrectly setting FP_MAX_BITS to 512 when RSA was enabled. This resulted in RSA_FUNCTION MP_EXPTMOD_E: memory/config problem
.
This commit is contained in:
@@ -124,7 +124,7 @@ extern "C" {
|
|||||||
|
|
||||||
/* Use alternate ECC size for ECC math */
|
/* Use alternate ECC size for ECC math */
|
||||||
#ifdef USE_FAST_MATH
|
#ifdef USE_FAST_MATH
|
||||||
#ifndef NO_RSA
|
#ifdef NO_RSA
|
||||||
/* if not using RSA set FP_MAX_BITS to 256*2 */
|
/* if not using RSA set FP_MAX_BITS to 256*2 */
|
||||||
#undef FP_MAX_BITS
|
#undef FP_MAX_BITS
|
||||||
#define FP_MAX_BITS 512
|
#define FP_MAX_BITS 512
|
||||||
|
Reference in New Issue
Block a user