From 173b3d949759ac9aa6f719933ee41be7d4556fb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Thu, 8 Jun 2023 09:22:26 +0200 Subject: [PATCH] MINOR: quic: Useless call to SSL_CTX_set_quic_method() SSL_set_quic_method() is already called at SSL session level. This call is useless. Furthermore, SSL_CTX_set_quic_method() is not implemented by the QUIC OpenSSL wrapper to come. Should be backported as far as 2.6 to ease further backports to come. --- src/quic_conn.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/quic_conn.c b/src/quic_conn.c index e495836a3..7b37174c9 100644 --- a/src/quic_conn.c +++ b/src/quic_conn.c @@ -1458,7 +1458,6 @@ int ssl_quic_initial_ctx(struct bind_conf *bind_conf) # endif SSL_CTX_set_tlsext_servername_arg(ctx, bind_conf); #endif - SSL_CTX_set_quic_method(ctx, &ha_quic_method); return cfgerr; }