]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: quic: keylog callback not called (USE_OPENSSL_COMPAT)
authorFrederic Lecaille <flecaille@haproxy.com>
Tue, 16 Jan 2024 09:17:27 +0000 (10:17 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Tue, 16 Jan 2024 09:17:27 +0000 (10:17 +0100)
commit0eaf42a2a47f2ee73045e48274ed98e00aa44dba
tree4898b6e9784afb21608967eb32cfb9d0c01e74ec
parent7021a8c4d8bd8b280d04f481a153a1487deb08d1
BUG/MEDIUM: quic: keylog callback not called (USE_OPENSSL_COMPAT)

This bug impacts only the QUIC OpenSSL compatibility module (USE_QUIC_OPENSSL_COMPAT)
and it was introduced by this commit:

    BUG/MINOR: quic: Wrong keylog callback setting.

quic_tls_compat_keylog_callback() callback was no more set when the SSL keylog was
enabled by tune.ssl.keylog setting. This is the callback which sets the TLS secrets
into haproxy.

Set it again when the SSL keylog is not enabled by configuration.

Thank you to @Greg57070 for having reported this issue in GH #2412.

Must be backported as far as 2.8.
src/quic_openssl_compat.c