mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-12 11:57:25 +00:00
modify library/memory_buffer_alloc.c, benchmark.c and the tests main code to use polarssl_exit
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
#define polarssl_exit exit
|
#define polarssl_exit exit
|
||||||
#define polarssl_printf printf
|
#define polarssl_printf printf
|
||||||
#define polarssl_snprintf snprintf
|
#define polarssl_snprintf snprintf
|
||||||
|
#define polarssl_exit exit
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_TIMING_C)
|
#if defined(POLARSSL_TIMING_C)
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
#if defined(POLARSSL_PLATFORM_C)
|
#if defined(POLARSSL_PLATFORM_C)
|
||||||
#include "polarssl/platform.h"
|
#include "polarssl/platform.h"
|
||||||
#else
|
#else
|
||||||
|
#include <stdio.h>
|
||||||
#define polarssl_exit exit
|
#define polarssl_exit exit
|
||||||
#define polarssl_free free
|
#define polarssl_free free
|
||||||
#define polarssl_malloc malloc
|
#define polarssl_malloc malloc
|
||||||
|
|||||||
Reference in New Issue
Block a user