From: Frédéric Lécaille Date: Thu, 8 Jun 2023 07:22:26 +0000 (+0200) Subject: MINOR: quic: Useless call to SSL_CTX_set_quic_method() X-Git-Tag: v2.9-dev2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=173b3d949759ac9aa6f719933ee41be7d4556fb1;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/quic_conn.c b/src/quic_conn.c index e495836a33..7b37174c9a 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; }