From f5c109a6982849cc96400c45fab636d2b09e4b1b Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 1 Feb 2023 09:21:31 +1300 Subject: [PATCH] Added my user settings. --- IDE/WIN/user_settings.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/IDE/WIN/user_settings.h b/IDE/WIN/user_settings.h index 7475aa87f9..0d0041fc7d 100644 --- a/IDE/WIN/user_settings.h +++ b/IDE/WIN/user_settings.h @@ -16,6 +16,41 @@ #define WOLFSSL_DTLS13 #define WOLFSSL_DTLS_CID +// Enable things needed to decode SSL messages with wireshark. +#define HAVE_SECRET_CALLBACK + +// Enable support for post-handshake authentication in TLS 1.3 +#define WOLFSSL_POST_HANDSHAKE_AUTH + +// Enable key generation: +// https://www.wolfssl.com/documentation/manuals/wolfssl/chapter07.html#rsa-key-generation +#define WOLFSSL_KEY_GEN + +// Enable certificate generation: +// https://www.wolfssl.com/documentation/manuals/wolfssl/chapter07.html#certificate-generation +#define WOLFSSL_CERT_GEN + +// Enable certificate request generation: +// https://www.wolfssl.com/documentation/manuals/wolfssl/chapter07.html#certificate-signing-request-csr-generation +#define WOLFSSL_CERT_REQ + +// Enable debugging and logging support +// https://www.wolfssl.com/documentation/manuals/wolfssl/chapter08.html +#define DEBUG_WOLFSSL + +// Enable additional debugging during a TLS connection +// https://www.wolfssl.com/documentation/manuals/wolfssl/chapter02.html#wolfssl_debug_tls +#define WOLFSSL_DEBUG_TLS + +// Force callback set in wolfSSL_CTX_set_verify to be called every time (not just on failure) +// see: https://www.wolfssl.com/forums/post2349.html#p2349 +#define WOLFSSL_ALWAYS_VERIFY_CB + +// Support certificate extensions. If an unsupported or unknown extension that is marked as critical is found, +// then an error message is returned, otherwise unsupported or unknown extensions found are ignored. +// see: https://www.wolfssl.com/documentation/manuals/wolfssl/chapter07.html#supported-certificate-extensions +#define WOLFSSL_CERT_EXT + /* Configurations */ #if defined(HAVE_FIPS) /* FIPS */