forked from wolfSSL/wolfssl
Building with just bare TLS 1.3 settings
will produce the error that the wolfSSL struct doesn't have extensions.
This commit is contained in:
@ -4015,7 +4015,8 @@ int DoTls13ClientHello(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_SESSION_TICKET) || !defined(NO_PSK)
|
||||
#if (defined(HAVE_SESSION_TICKET) || !defined(NO_PSK)) && \
|
||||
defined(HAVE_TLS_EXTENSIONS)
|
||||
if (TLSX_Find(ssl->extensions, TLSX_PRE_SHARED_KEY) != NULL) {
|
||||
if (ssl->options.downgrade) {
|
||||
if ((ret = InitHandshakeHashes(ssl)) != 0)
|
||||
|
Reference in New Issue
Block a user