Merge pull request #6101 from kaleb-himes/invalid-pp-macro

Fix invalid PP macro logic, guard under same conditions as internal.h
This commit is contained in:
David Garske
2023-02-17 17:05:50 -08:00
committed by GitHub

View File

@ -19854,7 +19854,9 @@ size_t wolfSSL_get_client_random(const WOLFSSL* ssl, unsigned char* out,
ssl->options.tls1_1 = 0;
#if defined(HAVE_SESSION_TICKET) || !defined(NO_PSK)
ssl->options.noPskDheKe = 0;
#ifdef HAVE_SUPPORTED_CURVES
ssl->options.onlyPskDheKe = 0;
#endif
#endif
#ifdef HAVE_SESSION_TICKET
#ifdef WOLFSSL_TLS13