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