Fix invalid PP macro logic, guard under same conditions as internal.h

This commit is contained in:
kaleb-himes
2023-02-16 14:40:43 -07:00
parent 0a6dedab03
commit b2caa5c5ae

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