mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +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)
|
#if !defined(NO_FILESYSTEM) && defined(WOLFSSL_MAX_STRENGTH)
|
||||||
#define DEFAULT_MIN_RSAKEY_BITS 2048
|
#define DEFAULT_MIN_RSAKEY_BITS 2048
|
||||||
#else
|
#else
|
||||||
|
#ifndef DEFAULT_MIN_RSAKEY_BITS
|
||||||
#define DEFAULT_MIN_RSAKEY_BITS 1024
|
#define DEFAULT_MIN_RSAKEY_BITS 1024
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#if !defined(NO_FILESYSTEM) && defined(WOLFSSL_MAX_STRENGTH)
|
#if !defined(NO_FILESYSTEM) && defined(WOLFSSL_MAX_STRENGTH)
|
||||||
#define DEFAULT_MIN_ECCKEY_BITS 256
|
#define DEFAULT_MIN_ECCKEY_BITS 256
|
||||||
#else
|
#else
|
||||||
|
#ifndef DEFAULT_MIN_ECCKEY_BITS
|
||||||
#define DEFAULT_MIN_ECCKEY_BITS 224
|
#define DEFAULT_MIN_ECCKEY_BITS 224
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* all certs relative to wolfSSL home directory now */
|
/* all certs relative to wolfSSL home directory now */
|
||||||
|
Reference in New Issue
Block a user