]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: don't initialize the keylog callback when not required
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 18 Nov 2022 14:00:15 +0000 (15:00 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 18 Nov 2022 14:24:23 +0000 (15:24 +0100)
commitb60a77b6d0a50c3a006b541908f69d6bd91b3e8c
tree7a5ed7a5a14c1e193f4604bd68134d9a7795e95a
parentdfefebcd7a01faab9988d0aa0811d43bdfc7c665
BUG/MINOR: ssl: don't initialize the keylog callback when not required

The registering of the keylog callback seems to provoke a loss of
performance. Disable the registration as well as the fetches if
tune.ssl.keylog is off.

Must be backported as far as 2.2.
src/ssl_sample.c
src/ssl_sock.c