1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Fixes X509 sample app and SSL test suite

Fixes the X.509 cert_app and the SSL test suite for the non-default
configs which don't build with if MBEDTLS_PLATFORM_C isn't defined.
This commit is contained in:
Simon Butcher
2016-04-27 13:35:37 +01:00
parent d3138c35c6
commit b2d5dd105d
2 changed files with 6 additions and 2 deletions

View File

@ -29,6 +29,9 @@
#include "mbedtls/platform.h"
#else
#include <stdio.h>
#include <stdlib.h>
#define mbedtls_time time
#define mbedtls_time_t time_t
#define mbedtls_fprintf fprintf
#define mbedtls_printf printf
#endif