additional fixes and peer review for -DOPENSSL_EXTRA -DOPENSSL_COEXIST: cover -DWOLFSSL_QUIC, fix -DNO_ASN, rename WOLFSSL_ASN1_TYPE_* to WOLFSSL_V_ASN1_*, completed nativization of NID_*, and switch to prefix WC_NID_ rather than wc_NID_.

This commit is contained in:
Daniel Pouzzner
2024-10-31 00:03:41 -05:00
parent ca9d012a24
commit a2bcbf7ecf
23 changed files with 1564 additions and 1489 deletions

View File

@ -29,16 +29,15 @@
#include <wolfssl/options.h>
#endif
#undef TEST_OPENSSL_COEXIST /* can't use this option with this example */
#ifdef OPENSSL_EXTRA
#undef OPENSSL_COEXIST /* can't use this option with this example */
/* Force enable the compatibility macros for this example */
#undef TEST_OPENSSL_COEXIST
#undef OPENSSL_COEXIST
#ifndef OPENSSL_EXTRA_X509_SMALL
#define OPENSSL_EXTRA_X509_SMALL
#endif
/* let's use cyassl layer AND cyassl openssl layer */
#undef TEST_OPENSSL_COEXIST /* can't use this option with this example */
#include <wolfssl/ssl.h>
/* Force enable the compatibility macros for this example */
#ifdef WOLFSSL_DTLS
#include <wolfssl/error-ssl.h>
#endif
@ -54,9 +53,6 @@
#include <wolfssl/test.h>
#ifndef OPENSSL_EXTRA_X509_SMALL
#define OPENSSL_EXTRA_X509_SMALL
#endif
#include <wolfssl/openssl/ssl.h>
#include <examples/echoclient/echoclient.h>