curl/lib/vtls
Stefan Eissing 5448495cfd
vtls_scache: check reentrancy
Track lock status of session cache, add DEBUGASSERT()s for proper
calling sequences. Add check of lock status.

Use lock status check to prevent reentry of import/export calls.
Deny such calls with CURLE_RECURSIVE_API_CALL.

Closes #21383
2026-04-20 11:22:00 +02:00
..
apple.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
apple.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
cipher_suite.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
cipher_suite.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
gtls.c build: fix -Wformat-signedness by adjusting printf masks 2026-04-16 10:32:50 +02:00
gtls.h clang-tidy: enable more checks, fix fallouts 2026-04-14 02:20:16 +02:00
hostcheck.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
hostcheck.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
keylog.c tidy-up: miscellaneous 2026-04-14 01:08:32 +02:00
keylog.h keylog.h: replace literal number with macro in declaration 2026-03-28 15:51:04 +01:00
mbedtls.c build: fix -Wformat-signedness by adjusting printf masks 2026-04-16 10:32:50 +02:00
mbedtls.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
openssl.c openssl: fix unused variable warnings in !verbose builds 2026-04-20 02:37:35 +02:00
openssl.h h3: HTTPS-RR use in HTTP/3 2026-04-09 09:30:52 +02:00
rustls.c build: fix -Wformat-signedness by adjusting printf masks 2026-04-16 10:32:50 +02:00
rustls.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
schannel.c build: fix -Wformat-signedness by adjusting printf masks 2026-04-16 10:32:50 +02:00
schannel.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
schannel_int.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
schannel_verify.c build: fix -Wformat-signedness by adjusting printf masks 2026-04-16 10:32:50 +02:00
vtls.c build: fix -Wformat-signedness by adjusting printf masks 2026-04-16 10:32:50 +02:00
vtls.h urldata: import port types and conn destination format 2026-03-15 12:02:26 +01:00
vtls_int.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
vtls_scache.c vtls_scache: check reentrancy 2026-04-20 11:22:00 +02:00
vtls_scache.h vtls_scache: check reentrancy 2026-04-20 11:22:00 +02:00
vtls_spack.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
vtls_spack.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
wolfssl.c h3: HTTPS-RR use in HTTP/3 2026-04-09 09:30:52 +02:00
wolfssl.h clang-tidy: enable more checks, fix fallouts 2026-04-14 02:20:16 +02:00
x509asn1.c build: fix -Wformat-signedness by adjusting printf masks 2026-04-16 10:32:50 +02:00
x509asn1.h x509asn1: fixed and adapted for ASN1tostr unit testing 2026-03-20 13:03:40 +01:00