mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Always enable tls13MiddleBoxCompat with WOLFSSL_TLS13_MIDDLEBOX_COMPAT
This commit is contained in:
@@ -7189,6 +7189,10 @@ int InitSSL(WOLFSSL* ssl, WOLFSSL_CTX* ctx, int writeDup)
|
||||
XMEMCPY(ssl->group, ctx->group, sizeof(*ctx->group) * ctx->numGroups);
|
||||
ssl->numGroups = ctx->numGroups;
|
||||
}
|
||||
|
||||
#ifdef WOLFSSL_TLS13_MIDDLEBOX_COMPAT
|
||||
ssl->options.tls13MiddleBoxCompat = 1;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TLS_EXTENSIONS
|
||||
|
@@ -4249,9 +4249,6 @@ int SendTls13ClientHello(WOLFSSL* ssl)
|
||||
/* Version | Random | Cipher Suites | Compression */
|
||||
args->length = VERSION_SZ + RAN_LEN + suites->suiteSz +
|
||||
SUITE_LEN + COMP_LEN + ENUM_LEN;
|
||||
#if defined(WOLFSSL_TLS13_MIDDLEBOX_COMPAT)
|
||||
ssl->options.tls13MiddleBoxCompat = 1;
|
||||
#endif
|
||||
#ifdef WOLFSSL_QUIC
|
||||
if (WOLFSSL_IS_QUIC(ssl)) {
|
||||
/* RFC 9001 ch. 8.4 sessionID in ClientHello MUST be 0 length */
|
||||
|
Reference in New Issue
Block a user