]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add sslkeylog config option and implementation
authorNeil Horman <nhorman@openssl.org>
Mon, 26 Aug 2024 21:59:46 +0000 (17:59 -0400)
committerMatt Caswell <matt@openssl.org>
Mon, 21 Oct 2024 10:34:35 +0000 (11:34 +0100)
commit4a69a6d171cafe4b3dee81215f0640fc42a8aff9
tree0299ee645969eee3362b5c9499944dcdc3423fa2
parent256f580dcd2ea208b9f3e5dc357e893a21e683d2
Add sslkeylog config option and implementation

Add a config option for sslkeylog (disabled by default)

When enabled, SSL_CTX_new[_ex] becomes sensitive to the SSLKEYLOGFILE
environment variable.  It records keylog callback messages to the file
specified in the environment variable according to the format specified
in https://www.ietf.org/archive/id/draft-thomson-tls-keylogfile-00.html

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Hugo Landau <hlandau@devever.net>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25297)
Configure
ssl/ssl_lib.c
ssl/ssl_local.h