curl/lib/vtls
Jay Satiro 942896fdd1 mbedtls: properly cleanup the thread-shared entropy
- Store the state of the thread-shared entropy for global init/cleanup.

- Use curl's thread support of mbedtls for all Windows builds instead of
  just when the threaded resolver is used via USE_THREADS_WIN32.

Prior to this change on global cleanup curl builds that have curl thread
support for mbedtls freed the entropy (8b1d2298) but failed to mark that
it had been freed, which caused problems on subsequent init + transfer.

Bug: https://github.com/curl/curl/discussions/11919#discussioncomment-8687105
Reported-by: awesomekosm@users.noreply.github.com

Closes https://github.com/curl/curl/pull/13071
2024-03-12 03:09:37 -04:00
..
bearssl.c vtls: fix tls proxy peer verification 2024-02-16 18:00:21 -05:00
bearssl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gtls.c gnutls: fix build with --disable-verbose 2023-12-16 22:06:21 +01:00
gtls.h vtls/vquic, keep peer name information together 2023-11-19 13:55:22 +01: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 windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
keylog.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls.c mbedtls: properly cleanup the thread-shared entropy 2024-03-12 03:09:37 -04:00
mbedtls.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 mbedtls: properly cleanup the thread-shared entropy 2024-03-12 03:09:37 -04:00
openssl.c vtls: fix tls proxy peer verification 2024-02-16 18:00:21 -05:00
openssl.h vtls: consistently use typedef names for OpenSSL structs 2023-12-01 23:00:43 +01:00
rustls.c rustls: fix two warnings related to number types 2024-03-03 18:22:03 +01:00
rustls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
schannel.c vtls: fix tls proxy peer verification 2024-02-16 18:00:21 -05:00
schannel.h build: do not publish HAVE_BORINGSSL, HAVE_AWSLC macros 2023-10-08 22:29:45 +00:00
schannel_int.h schannel: add CA cache support for files and memory blobs 2023-11-11 04:11:11 -05:00
schannel_verify.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
sectransp.c vtls: fix tls proxy peer verification 2024-02-16 18:00:21 -05:00
sectransp.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
vtls.c vtls: fix tls proxy peer verification 2024-02-16 18:00:21 -05:00
vtls.h vtls: remove the Curl_cft_ssl_proxy object if CURL_DISABLE_PROXY 2023-12-07 09:31:05 +01:00
vtls_int.h openssl: when a session-ID is reused, skip OCSP stapling 2023-11-28 22:59:10 +01:00
wolfssl.c wolfssl: load certificate *chain* for PEM client certs 2024-01-06 11:24:11 +01:00
wolfssl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
x509asn1.c x509asn1: switch from malloc to dynbuf 2024-01-27 12:27:35 +01:00
x509asn1.h gskit: remove 2023-08-07 20:57:48 +02:00