mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 00:27:08 +02:00
MINOR: quic: Initialize TLS contexts for QUIC openssl wrapper
When the QUIC OpenSSL wrapper use is enabled, all the TLS contexts (SSL_CTX) must be configured to support it. This is done calling quic_tls_compat_init() from ssl_sock_prepare_ctx(). Note that quic_tls_compat_init() ignore the TLS context which are not linked to non-QUIC TLS sessions/connections. Required for the QUIC openssl wrapper support.
This commit is contained in:
parent
91f1950ed6
commit
557706b34c
@ -4799,6 +4799,11 @@ static int ssl_sock_prepare_ctx(struct bind_conf *bind_conf, struct ssl_bind_con
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_QUIC_OPENSSL_COMPAT
|
||||||
|
if (!quic_tls_compat_init(bind_conf, ctx))
|
||||||
|
cfgerr |= ERR_ALERT | ERR_FATAL;
|
||||||
|
#endif
|
||||||
|
|
||||||
return cfgerr;
|
return cfgerr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user