mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Fixes to support overriding minimum key sizes for examples.
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user