]> git.ipfire.org Git - thirdparty/curl.git/commit
tls: CURLINFO_TLS_SSL_PTR testing
authorStefan Eissing <stefan@eissing.org>
Wed, 23 Jul 2025 09:21:36 +0000 (11:21 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Aug 2025 07:37:36 +0000 (09:37 +0200)
commitba9ddb935794a9fdd6906f043102a0d3e5795113
tree4d2ec34b18cc08b5609eaf4650489437bd5eac2d
parentaf69c9d636c099b8e9086828def3a92de8db3449
tls: CURLINFO_TLS_SSL_PTR testing

Add tests of CURLINFO_TLS_SSL_PTR and its returned value in test client
'hx-download'. Use obtained pointer to look up the negotiated TLS
version.

Update manpage of CURLINFO_TLS_SSL_PTR to also describe the behaviour of
wolfSSL similar to OpenSSL. Fix the wolfSSl implementation for TCP to
behave like that. Update the QUIC queries.

Fix rustls `get_internals()` to return the rustls_connection* and not
the address of the pointer.

Assisted-by: Viktor Szakats
Closes #18066
docs/libcurl/opts/CURLINFO_TLS_SESSION.md
lib/vquic/curl_ngtcp2.c
lib/vquic/curl_osslq.c
lib/vquic/curl_quiche.c
lib/vtls/rustls.c
lib/vtls/wolfssl.c
tests/libtest/cli_hx_download.c