curl/lib/vquic
Stefan Eissing 75c2c881af
openssl+sectrust: fix session reuse
When TLS is verified via Apple SecTrust, openssl internal state is a
verification faiure (that is how it works, we use sectrust when openssl
fails to verify and natice ca store is enabled).

OpenSSL stores this verification status inside its TLS session objects.
On reuse, we see an unverified session and do not reuse it for a
verified connect attempt. While this is a performance penalty for most
connections, it *fails* on ftps:// transfers where servers expect
session reuse on DATA connections.

Fix this by remembering that TLS and a session was verified by sectrust
and allow reuse of such sessions for new connect attempts that also use
sectrust.

Closes #22235
2026-07-01 23:11:10 +02:00
..
capsule.c cf-capsule: complete filter 2026-06-15 15:42:22 +02:00
capsule.h cf-capsule: complete filter 2026-06-15 15:42:22 +02:00
cf-capsule.c cf-capsule: complete filter 2026-06-15 15:42:22 +02:00
cf-capsule.h cf-capsule: complete filter 2026-06-15 15:42:22 +02:00
cf-ngtcp2-cmn.c openssl+sectrust: fix session reuse 2026-07-01 23:11:10 +02:00
cf-ngtcp2-cmn.h ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
cf-ngtcp2-proxy.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
cf-ngtcp2-proxy.h ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
cf-ngtcp2.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cf-ngtcp2.h ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
cf-quiche.c cf-dns: pass peer for result lookups 2026-06-16 23:15:43 +02:00
cf-quiche.h ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
vquic-tls.c ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
vquic-tls.h ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
vquic.c vquic: fix -Wunused-parameter with proxies disabled 2026-06-19 14:46:54 +02:00
vquic.h ngtcp2: share common functionality 2026-06-10 13:28:05 +02:00
vquic_int.h cf-capsule: complete filter 2026-06-15 15:42:22 +02:00