curl-curl/lib/vtls
Daniel Stenberg e9455ea523
rustls: make read_file_into not reject good files
For files with sizes using an exact multiple of 256 bytes, the final
successful read(s) filled the buffer(s) and the subsequent fread
returned 0 for EOF, which caused read_file_into to fail.

Now, it needs to return 0 and not be EOF to be an error.

Follow-up to dd95a49d49

Pointed out by ZeroPath
Closes #19104
2025-10-17 17:44:14 +02:00
..
apple.c apple sectrust: add to features 2025-10-16 10:58:45 +02:00
apple.h apple sectrust: add to features 2025-10-16 10:58:45 +02:00
cipher_suite.c lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
cipher_suite.h TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
gtls.c gnutls: check conversion of peer cert chain 2025-10-10 23:41:31 +02:00
gtls.h ssl: support Apple SecTrust configurations 2025-10-03 12:02:23 +02:00
hostcheck.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
hostcheck.h openssl: some small cleanups 2025-07-18 00:40:26 +02:00
keylog.c build: avoid overriding system symbols for fopen functions 2025-09-30 01:10:36 +02:00
keylog.h spelling: 'a' vs 'an' 2025-05-30 11:38:35 +02:00
mbedtls_threadlock.c lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
mbedtls_threadlock.h lib: include files using known path 2025-04-08 17:00:00 +02:00
mbedtls.c mbedtls: add support for 4.0.0 2025-10-17 11:50:48 +02:00
mbedtls.h lib: include files using known path 2025-04-08 17:00:00 +02:00
openssl.c openssl: avoid overwriting 'result' after error 2025-10-17 15:48:47 +02:00
openssl.h ssl: support Apple SecTrust configurations 2025-10-03 12:02:23 +02:00
rustls.c rustls: make read_file_into not reject good files 2025-10-17 17:44:14 +02:00
rustls.h lib: include files using known path 2025-04-08 17:00:00 +02:00
schannel_int.h windows: stop passing unused, optional argument for Win9x compatibility 2025-09-20 02:27:07 +02:00
schannel_verify.c schannel_verify: fix mem-leak in Curl_verify_host 2025-10-09 21:55:28 +02:00
schannel.c lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
schannel.h openssl: BoringSSL / AWS-LC tidy-ups 2025-08-24 00:30:06 +02:00
vtls_int.h vtls_int.h: clarify data_pending 2025-09-21 09:43:28 +02:00
vtls_scache.c lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
vtls_scache.h lib: replace scache no-op macros with #ifdef 2025-06-27 17:33:34 +02:00
vtls_spack.c build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
vtls_spack.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
vtls.c apple sectrust: add to features 2025-10-16 10:58:45 +02:00
vtls.h tidy-up: whitespace 2025-07-11 13:32:54 +02:00
wolfssl.c wolfssl: no double get_error() detail 2025-10-08 23:15:07 +02:00
wolfssl.h GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
x509asn1.c lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
x509asn1.h build: address some -Weverything warnings, update picky warnings 2025-09-20 10:16:15 +02:00