Fixes platform time_t abstraction

Fixes platform abstraction in error.c and the file that it's generated
from as well as DTLS samples.
This commit is contained in:
Simon Butcher 2016-05-17 00:03:14 +01:00
parent c21bec8af4
commit db0feca55c
5 changed files with 6 additions and 0 deletions

View file

@ -34,6 +34,7 @@
#include "mbedtls/platform.h"
#else
#define mbedtls_snprintf snprintf
#define mbedtls_time_t time_t
#endif
#if defined(MBEDTLS_ERROR_C)