]> git.ipfire.org Git - thirdparty/curl.git/commit
rustls: Add support for SSLKEYLOGFILE
authorYedaya Katsman <yedaya.ka@gmail.com>
Mon, 21 Oct 2024 20:28:28 +0000 (23:28 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 27 Mar 2025 07:47:43 +0000 (08:47 +0100)
commit1d31f2592f94a4674ec27ee191ef7e30753d79eb
tree1fa3d1832c8f000b5163a4ab15063608b3e3cc57
parent9ad2d8c557a40af782a6b4d98d1630e99c471060
rustls: Add support for SSLKEYLOGFILE

With rustls-ffi 0.15+ we can set up a callback for writing TLS secrets
hooked up to call Curl_tls_keylog_write. To make sure the associated
file is cleaned up we update the Curl_ssl struct for the rustls-ffi vtls
backend to have a cleanup callback.

Closes #16828
docs/cmdline-opts/_ENVIRONMENT.md
lib/vtls/keylog.c
lib/vtls/rustls.c