Gilles Peskine 64ff7fc1dc Stop using MBEDTLS_PRINTF_SIZET
Since Mbed TLS 3.6.0, all officially supported versions of Visual Studio
a printf function family that is sufficiently compliant to C99 for our
purposes, in particular supporting `%zu` for `size_t`. The only platform
without `%zu` that we semi-officially support is older versions of MinGW,
still used in our CI. MinGW provides either a Windows legacy printf or a
standards-compliant printf depending on the value of
`__USE_MINGW_ANSI_STDIO` when compiling each C file. Force the use of the
compliant version. Don't rely on `MBEDTLS_PRINTF_SIZET`, which is defined in
`<mbedtls/debug.h>` and no longer considers the Windows legacy version in
Mbed TLS >= 4.1.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2026-02-26 19:56:23 +00:00
..
CMakeLists.txt Update paths for moved program files in CMakeLists 2025-02-19 15:30:24 +00:00
dtls_client.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
dtls_server.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
mini_client.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_client1.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_client2.c Stop using MBEDTLS_PRINTF_SIZET 2026-02-26 19:56:23 +00:00
ssl_context_info.c Stop using MBEDTLS_PRINTF_SIZET 2026-02-26 19:56:23 +00:00
ssl_fork_server.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_mail_client.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_pthread_server.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_server2.c Stop using MBEDTLS_PRINTF_SIZET 2026-02-26 19:56:23 +00:00
ssl_server.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_test_common_source.c Only check for certificates if it is supported 2025-03-20 17:53:07 +01:00
ssl_test_lib.c Add further rng removals highlighted by the ci 2026-01-14 13:01:23 +00:00
ssl_test_lib.h Stop using MBEDTLS_PRINTF_SIZET 2026-02-26 19:56:23 +00:00