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

Fix ssl_client2 and ssl_server2 if !PLATFORM_C

The CA callback changes introduce mbedtls_calloc() and
mbedtls_free() to ssl_client2 and ssl_server2, which
wasn't defined unless MBEDTLS_PLATFORM_C was set.
This commit is contained in:
Hanno Becker
2019-03-30 06:27:43 +00:00
parent 1bac87c5dc
commit d6d100beb7
2 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,7 @@
#else
#include <stdio.h>
#include <stdlib.h>
#define mbedtls_calloc calloc
#define mbedtls_free free
#define mbedtls_time time
#define mbedtls_time_t time_t