mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
MINOR: quic: SSL context initialization with QUIC OpenSSL wrapper.
When the QUIC OpenSSL wrapper is used, the keylog has to be set and a QUIC specific TLS 1.3 extension must be added to the EncryptedExtensions message. This is done by quic_tls_compat_init().
This commit is contained in:
parent
173b3d9497
commit
bcbd5a287b
1 changed files with 4 additions and 0 deletions
|
|
@ -1458,6 +1458,10 @@ int ssl_quic_initial_ctx(struct bind_conf *bind_conf)
|
|||
# endif
|
||||
SSL_CTX_set_tlsext_servername_arg(ctx, bind_conf);
|
||||
#endif
|
||||
#ifdef USE_QUIC_OPENSSL_COMPAT
|
||||
if (!quic_tls_compat_init(bind_conf, ctx))
|
||||
cfgerr |= ERR_ALERT | ERR_FATAL;
|
||||
#endif
|
||||
|
||||
return cfgerr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue