mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
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
|
#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 (TLSX_Find(ssl->extensions, TLSX_PRE_SHARED_KEY) != NULL) {
|
||||||
if (ssl->options.downgrade) {
|
if (ssl->options.downgrade) {
|
||||||
if ((ret = InitHandshakeHashes(ssl)) != 0)
|
if ((ret = InitHandshakeHashes(ssl)) != 0)
|
||||||
|
Reference in New Issue
Block a user