move MAX_STRENGTH and IPHONE in settings.h per pattern

This commit is contained in:
John Safranek
2015-04-01 14:14:56 -07:00
parent b5a1cd186f
commit 2b5de9bd15

View File

@@ -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 */