diff --git a/wolfssl/test.h b/wolfssl/test.h index f9b56657e..a781a4e08 100644 --- a/wolfssl/test.h +++ b/wolfssl/test.h @@ -302,12 +302,16 @@ #if !defined(NO_FILESYSTEM) && defined(WOLFSSL_MAX_STRENGTH) #define DEFAULT_MIN_RSAKEY_BITS 2048 #else + #ifndef DEFAULT_MIN_RSAKEY_BITS #define DEFAULT_MIN_RSAKEY_BITS 1024 + #endif #endif #if !defined(NO_FILESYSTEM) && defined(WOLFSSL_MAX_STRENGTH) #define DEFAULT_MIN_ECCKEY_BITS 256 #else + #ifndef DEFAULT_MIN_ECCKEY_BITS #define DEFAULT_MIN_ECCKEY_BITS 224 + #endif #endif /* all certs relative to wolfSSL home directory now */