commit | 7551cb9ee9b13da9c03b56b643f813303c8056c8 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue May 26 16:04:06 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue May 26 16:04:06 2015 +0200 |
tree | 2d98bb05f8e494ef03301d9e715ba5fce973fe87 | |
parent | 065122cfe9d60032ea499bf10fd3cf488fd8bd52 [diff] [blame] |
Replace malloc with calloc - platform layer currently broken (not adapted yet) - memmory_buffer_alloc too
diff --git a/library/ssl_cookie.c b/library/ssl_cookie.c index 7663e36..8b993ac 100644 --- a/library/ssl_cookie.c +++ b/library/ssl_cookie.c
@@ -38,7 +38,7 @@ #if defined(MBEDTLS_PLATFORM_C) #include "mbedtls/platform.h" #else -#define mbedtls_malloc malloc +#define mbedtls_calloc calloc #define mbedtls_free free #endif