This patch skips the TLS version settings. They have as a side effect to add
all the TLS version extensions to the ClientHello message (TLS 1.0 to TLS 1.3).
QUIC supports only TLS 1.3.
#endif
X509_STORE *store = SSL_CTX_get_cert_store(ctx);
+ /* QUIC supports only TLS 1.3. Skip these TLS versions settings. */
+ if (srv_is_quic(srv))
+ goto options;
+
if (conf_ssl_methods->flags && (conf_ssl_methods->min || conf_ssl_methods->max))
ha_warning("no-sslv3/no-tlsv1x are ignored for this server. "
"Use only 'ssl-min-ver' and 'ssl-max-ver' to fix.\n");
methodVersions[max].ctx_set_version(ctx, SET_MAX);
#endif
+ options:
if (srv->ssl_ctx.options & SRV_SSL_O_NO_TLS_TICKETS)
options |= SSL_OP_NO_TICKET;