curl/lib/vtls
Jay Satiro 9aae9bf817 openssl: revert keylog_callback support for LibreSSL
- Revert to the legacy TLS 1.2 key logging code for LibreSSL.

- Document SSLKEYLOGFILE for LibreSSL is TLS 1.2 max.

Prior to this change if the user specified a filename in the
SSLKEYLOGFILE environment variable and was using LibreSSL 3.5.0+ then
an empty file would be created and no keys would be logged.

This is effectively a revert of e43474b4 which changed openssl.c to use
SSL_CTX_set_keylog_callback for LibreSSL 3.5.0+. Unfortunately LibreSSL
added that function only as a stub that doesn't actually do anything.

Reported-by: Gonçalo Carvalho

Fixes https://github.com/curl/curl/issues/13672
Closes https://github.com/curl/curl/pull/13682
2024-05-20 03:55:40 -04:00
..
bearssl.c bearssl: use common code for cipher suite lookup 2024-05-02 13:17:02 +02:00
bearssl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
cipher_suite.c bearssl: use common code for cipher suite lookup 2024-05-02 13:17:02 +02:00
cipher_suite.h bearssl: use common code for cipher suite lookup 2024-05-02 13:17:02 +02:00
gtls.c vtls: TLS session storage overhaul 2024-04-26 13:58:36 +02:00
gtls.h gnutls: lazy init the trust settings 2024-04-11 08:59:25 +02:00
hostcheck.c gskit: remove 2023-08-07 20:57:48 +02:00
hostcheck.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
keylog.c tls: use shared init code for TCP+QUIC 2024-04-09 09:08:05 +02:00
keylog.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls_threadlock.c mbedtls: properly cleanup the thread-shared entropy 2024-03-12 03:09:37 -04:00
mbedtls_threadlock.h tidy-up: one comment and EOF newlines 2024-03-12 15:38:44 +00:00
mbedtls.c mbedtls: support TLS 1.3 2024-05-08 11:11:45 +02:00
mbedtls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
openssl.c openssl: revert keylog_callback support for LibreSSL 2024-05-20 03:55:40 -04:00
openssl.h vtls: TLS session storage overhaul 2024-04-26 13:58:36 +02:00
rustls.c rustls: fix handshake done handling 2024-05-17 16:51:45 +02:00
rustls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
schannel_int.h appveyor: make VS2010 job build-only, enable Schannel, fix compiler warnings 2024-04-10 07:32:38 +00:00
schannel_verify.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
schannel.c vtls: TLS session storage overhaul 2024-04-26 13:58:36 +02:00
schannel.h build: do not publish HAVE_BORINGSSL, HAVE_AWSLC macros 2023-10-08 22:29:45 +00:00
sectransp.c vtls: TLS session storage overhaul 2024-04-26 13:58:36 +02:00
sectransp.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
vtls_int.h vtls: TLS session storage overhaul 2024-04-26 13:58:36 +02:00
vtls.c vtls: remove duplicate assign 2024-05-14 07:58:59 +02:00
vtls.h version: add "ECH" as a feature 2024-04-16 13:24:08 +02:00
wolfssl.c vtls: TLS session storage overhaul 2024-04-26 13:58:36 +02:00
wolfssl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
x509asn1.c x509asn1: return error on missing OID 2024-05-17 14:54:41 +02:00
x509asn1.h gskit: remove 2023-08-07 20:57:48 +02:00