mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
MINOR: quic: Call the keylog callback for QUIC openssl wrapper from SSL_CTX_keylog()
SSL_CTX_keylog() is the callback used when the TLS keylog feature is enabled with tune.ssl.keylog configuration setting. But the QUIC openssl wrapper also needs to use such a callback to receive the QUIC TLS secrets from the TLS stack. Add a call to the keylog callback for the QUIC openssl wrapper to SSL_CTX_keylog() to ensure that it will be called when the TLS keylog feature is enabled.
This commit is contained in:
parent
557706b34c
commit
a53e523aef
1 changed files with 3 additions and 0 deletions
|
|
@ -4486,6 +4486,9 @@ void SSL_CTX_keylog(const SSL *ssl, const char *line)
|
|||
char *lastarg = NULL;
|
||||
char *dst = NULL;
|
||||
|
||||
#ifdef USE_QUIC_OPENSSL_COMPAT
|
||||
quic_tls_compat_keylog_callback(ssl, line);
|
||||
#endif
|
||||
keylog = SSL_get_ex_data(ssl, ssl_keylog_index);
|
||||
if (!keylog)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue