mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
move MAX_STRENGTH and IPHONE in settings.h per pattern
This commit is contained in:
@@ -30,9 +30,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Uncomment next line if using Max Strength build */
|
||||
/* #define WOLFSSL_MAX_STRENGTH */
|
||||
|
||||
/* Uncomment next line if using IPHONE */
|
||||
/* #define IPHONE */
|
||||
|
||||
@@ -108,23 +105,21 @@
|
||||
/* Uncomment next line if building for uT-Kernel */
|
||||
/* #define WOLFSSL_uTKERNEL2 */
|
||||
|
||||
/* Uncomment next line if using Max Strength build */
|
||||
/* #define WOLFSSL_MAX_STRENGTH */
|
||||
|
||||
#include <wolfssl/wolfcrypt/visibility.h>
|
||||
|
||||
#ifdef WOLFSSL_MAX_STRENGTH
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
#endif
|
||||
|
||||
#ifdef IPHONE
|
||||
#define SIZEOF_LONG_LONG 8
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef WOLFSSL_USER_SETTINGS
|
||||
#include <user_settings.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef IPHONE
|
||||
#define SIZEOF_LONG_LONG 8
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef COMVERGE
|
||||
#define THREADX
|
||||
#define HAVE_NETX
|
||||
@@ -765,6 +760,12 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* If using the max strength build, ensure OLD TLS is disabled. */
|
||||
#ifdef WOLFSSL_MAX_STRENGTH
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
#endif
|
||||
|
||||
/* Place any other flags or defines here */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user