Fixes for building wolfSSL along side openssl.

This commit is contained in:
David Garske
2022-03-04 10:45:53 -08:00
parent e1829e614d
commit 3839b0e675
24 changed files with 332 additions and 215 deletions

View File

@@ -32,6 +32,7 @@
#endif
#include <wolfssl/wolfcrypt/settings.h>
#undef TEST_OPENSSL_COEXIST /* can't use this option with this example */
#include <wolfssl/ssl.h> /* name change portability layer */
#ifdef HAVE_ECC
@@ -61,10 +62,15 @@ static const char *wolfsentry_config_path = NULL;
#include <wolfssl/certs_test.h>
#endif
#include <wolfssl/openssl/ssl.h>
#include <wolfssl/test.h>
#include <wolfssl/error-ssl.h>
/* Force enable the compatibility macros for this example */
#ifndef OPENSSL_EXTRA_X509_SMALL
#define OPENSSL_EXTRA_X509_SMALL
#endif
#include <wolfssl/openssl/ssl.h>
#include "examples/server/server.h"
#ifndef NO_WOLFSSL_SERVER