]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Useless call to SSL_CTX_set_quic_method()
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 8 Jun 2023 07:22:26 +0000 (09:22 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 21 Jul 2023 13:54:31 +0000 (15:54 +0200)
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

index e495836a337acd8a65a0e13271ad95598b087396..7b37174c9a253fbbe007eb528e14f7b36302c7f9 100644 (file)
@@ -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;
 }