forked from wolfSSL/wolfssl
Fix invalid PP macro logic, guard under same conditions as internal.h
This commit is contained in:
@@ -19854,8 +19854,10 @@ size_t wolfSSL_get_client_random(const WOLFSSL* ssl, unsigned char* out,
|
|||||||
ssl->options.tls1_1 = 0;
|
ssl->options.tls1_1 = 0;
|
||||||
#if defined(HAVE_SESSION_TICKET) || !defined(NO_PSK)
|
#if defined(HAVE_SESSION_TICKET) || !defined(NO_PSK)
|
||||||
ssl->options.noPskDheKe = 0;
|
ssl->options.noPskDheKe = 0;
|
||||||
|
#ifdef HAVE_SUPPORTED_CURVES
|
||||||
ssl->options.onlyPskDheKe = 0;
|
ssl->options.onlyPskDheKe = 0;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifdef HAVE_SESSION_TICKET
|
#ifdef HAVE_SESSION_TICKET
|
||||||
#ifdef WOLFSSL_TLS13
|
#ifdef WOLFSSL_TLS13
|
||||||
ssl->options.ticketsSent = 0;
|
ssl->options.ticketsSent = 0;
|
||||||
|
Reference in New Issue
Block a user