mbedtls/programs/ssl
Gilles Peskine 99a732bf0c Fix off-by-one in buffer_size usage
The added null byte was accounted for twice, once by taking
opt.buffer_size+1 when allocating the buffer and once by taking opt.buffer-1
when filling the buffer. Make opt.buffer_size the size that is actually
read, it's less confusing that way.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-04-06 23:34:36 +02:00
..
CMakeLists.txt Rename DEV_MODE to GEN_FILES 2021-10-25 13:16:04 +01:00
dtls_client.c Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
dtls_server.c Allow read-only access to lists of certificates, CRL, CRL entries 2021-08-31 23:18:07 +02:00
mini_client.c mbedtls_net_context: make fd public on Unix/POSIX platforms 2021-08-31 22:54:27 +02:00
ssl_client1.c Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
ssl_client2.c Merge pull request #5462 from gilles-peskine-arm/ssl-test-pkey-message-clarity 2022-02-03 11:33:03 +01:00
ssl_context_info.c Fix printf format specifier 2021-12-09 17:25:04 +00:00
ssl_fork_server.c Allow read-only access to lists of certificates, CRL, CRL entries 2021-08-31 23:18:07 +02:00
ssl_mail_client.c Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
ssl_pthread_server.c Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
ssl_server.c Allow read-only access to lists of certificates, CRL, CRL entries 2021-08-31 23:18:07 +02:00
ssl_server2.c Fix off-by-one in buffer_size usage 2022-04-06 23:34:36 +02:00
ssl_test_common_source.c fix deprecated-declarations error 2022-01-25 12:46:17 +08:00
ssl_test_lib.c Add MBEDTLS_ALLOW_PRIVATE_ACCESS to test programs 2021-05-21 18:10:44 +02:00
ssl_test_lib.h Merge pull request #5428 from gstrauss/mbedtls_ssl_ciphersuite 2022-01-24 11:13:31 +01:00