mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-25 13:08:52 +02:00
Fix MSVC version guard for C99 format size specifiers
Visual Studio 2013 (_MSC_VER == 1800) doesn't support %zu - only use it on 2015 and above (_MSC_VER >= 1900). %ldd works on Visual Studio 2013, but this patch keeps the two macro definitions together, for simplicity's sake. Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
5
ChangeLog.d/fix-msvc-version-guard-format-zu.txt
Normal file
5
ChangeLog.d/fix-msvc-version-guard-format-zu.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Bugfix
|
||||
* Fix definition of MBEDTLS_PRINTF_SIZET to prevent runtime crashes that
|
||||
occurred whenever SSL debugging was enabled on a copy of Mbed TLS built
|
||||
with Visual Studio 2013.
|
||||
Fixes #10017.
|
||||
Reference in New Issue
Block a user