]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Wrong keylog callback setting.
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 21 Dec 2023 13:14:22 +0000 (14:14 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Thu, 21 Dec 2023 15:26:31 +0000 (16:26 +0100)
commitb26f6fb0cb358ef1df15e21151906e4c2e9f4364
tree78f36f8570b7a42c5d66fc686480e29f478920aa
parent19f4f4d890bc28bbe4b850e1ced9be399f59fafb
BUG/MINOR: quic: Wrong keylog callback setting.

This bug impacts only the QUIC OpenSSL compatibility module (USE_QUIC_OPENSSL_COMPAT).

To make this module works, quic_tls_compat_keylog_callback() function must be
set as keylog callback, or at least be called by another keylog callback.
This is what SSL_CTX_keylog() was supposed to do. In addition to export the TLS
secrets via sample fetches this latter also calls quic_tls_compat_keylog_callback()
when compiled with USE_QUIC_OPENSSL_COMPAT defined.

Before this patch, SSL_CTX_keylog() was replaced by quic_tls_compat_keylog_callback()
and the TLS secret were no more exported by sample fetches.

Must be backported to 2.8.
src/quic_openssl_compat.c