Commit 7447f6f2 authored by Kishen Maloor's avatar Kishen Maloor

Fix mbedTLS config for Windows builds

Change-Id: I4c79688232914a566cd634b75e41ac91f085743f
Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
parent 53021280
diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h
index 79eedffdd..cbbb03291 100644
index 79eedffdd..774aef4cb 100644
--- a/include/mbedtls/config.h
+++ b/include/mbedtls/config.h
@@ -1,2817 +1,148 @@
@@ -1,2817 +1,150 @@
-/**
- * \file config.h
- *
......@@ -131,6 +131,8 @@ index 79eedffdd..cbbb03291 100644
+/* System support */
+#define MBEDTLS_PLATFORM_C
+#define MBEDTLS_PLATFORM_MEMORY
+#define MBEDTLS_PLATFORM_SNPRINTF_ALT
+#define MBEDTLS_PLATFORM_STD_SNPRINTF snprintf
+
+#ifdef OC_DYNAMIC_ALLOCATION
+#include <stdlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment