mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-26 03:35:35 +00:00
fix bug introduced by the addition of snprintf and assert macro which caused tests to fail without polarssl_platform_c defined
This commit is contained in:
parent
4cc8a22d88
commit
3d62e72648
@ -6,6 +6,10 @@
|
|||||||
#define polarssl_fprintf fprintf
|
#define polarssl_fprintf fprintf
|
||||||
#define polarssl_malloc malloc
|
#define polarssl_malloc malloc
|
||||||
#define polarssl_free free
|
#define polarssl_free free
|
||||||
|
#define polarssl_exit exit
|
||||||
|
#define polarssl_fprintf fprintf
|
||||||
|
#define polarssl_printf printf
|
||||||
|
#define polarssl_snprintf snprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
@ -15,6 +19,7 @@ typedef UINT32 uint32_t;
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#if defined(POLARSSL_PLATFORM_C)
|
#if defined(POLARSSL_PLATFORM_C)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user