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.
This commit is contained in:
Frédéric Lécaille 2023-06-08 09:22:26 +02:00
parent 7978493c2e
commit 173b3d9497

View 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;
}