make sure all tests/examples *.c use settings.h correctly

This commit is contained in:
toddouska 2013-04-10 12:17:23 -07:00
parent 97e0ec073f
commit f535e5428e
15 changed files with 30 additions and 0 deletions

View File

@ -25,6 +25,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#include <string.h>
#include <stdio.h>

View File

@ -23,6 +23,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#ifdef CYASSL_TEST_CERT
#include <cyassl/ctaocrypt/asn.h>
#else

View File

@ -23,6 +23,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#if !defined(CYASSL_TRACK_MEMORY) && !defined(NO_MAIN_DRIVER)
/* in case memory tracker wants stats */
#define CYASSL_TRACK_MEMORY

View File

@ -23,6 +23,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#include <cyassl/openssl/ssl.h>
#include <cyassl/test.h>

View File

@ -23,6 +23,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#include <cyassl/ssl.h>
#include <cyassl/test.h>

View File

@ -23,6 +23,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#if !defined(CYASSL_TRACK_MEMORY) && !defined(NO_MAIN_DRIVER)
/* in case memory tracker wants stats */
#define CYASSL_TRACK_MEMORY

View File

@ -26,6 +26,8 @@
#include "crypto.h"
#include <cyassl/ctaocrypt/settings.h>
#include <cyassl/ctaocrypt/md5.h>
#include <cyassl/ctaocrypt/sha.h>
#include <cyassl/ctaocrypt/sha256.h>

View File

@ -27,6 +27,8 @@
/* mc api header */
#include "crypto.h"
#include <cyassl/ctaocrypt/settings.h>
/* sanity test against our default implementation, cyassl headers */
#include <cyassl/ctaocrypt/md5.h>
#include <cyassl/ctaocrypt/sha.h>

View File

@ -23,6 +23,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#ifdef _WIN32
#define CYASSL_SNIFFER
#endif

View File

@ -23,6 +23,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#ifndef _WIN32
#define HAVE_CONFIG_H
#endif

View File

@ -23,6 +23,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#include <stdlib.h>
#include <cyassl/ssl.h>
#include <cyassl/test.h>

View File

@ -23,6 +23,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#include <stdio.h>
#include <cyassl/ctaocrypt/md4.h>

View File

@ -23,6 +23,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

View File

@ -3,6 +3,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#include <stdio.h>
#include <tests/unit.h>

View File

@ -23,6 +23,8 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#include <cyassl/openssl/ssl.h>
#include <cyassl/test.h>
#include <cyassl/ctaocrypt/sha256.h>