curl/lib/vtls
Jay Satiro 02b14378e6 openssl: stop duplicate ssl key logging for legacy OpenSSL
- Don't call the keylog function if it has already logged the key.

For old OpenSSL versions and its forks that do not have support for
OpenSSL's keylog callback, libcurl has its own legacy key logging
function that logs the TLS 1.2 (and earlier) key (client random + master
key) on a single line.

Prior to this change, since e7de80e8 (precedes 8.8.0), the legacy key
logging function could write the same key line more than once (usually
twice) due to some incorrect logic.

Closes https://github.com/curl/curl/pull/13683
2024-05-24 15:22:53 -04:00
..
bearssl.c bearssl: use common code for cipher suite lookup 2024-05-02 13:17:02 +02:00
bearssl.h
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
keylog.c tls: use shared init code for TCP+QUIC 2024-04-09 09:08:05 +02:00
keylog.h
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: send close-notify on close 2024-05-22 23:07:22 +02:00
mbedtls.h
openssl.c openssl: stop duplicate ssl key logging for legacy OpenSSL 2024-05-24 15:22:53 -04:00
openssl.h openssl: stop duplicate ssl key logging for legacy OpenSSL 2024-05-24 15:22:53 -04:00
rustls.c rustls: fix handshake done handling 2024-05-17 16:51:45 +02:00
rustls.h
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
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
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