From 2ea8f9c244fd24133d0891b8a96a7462843fa905 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 21 May 2018 13:58:54 +0200 Subject: [PATCH] mbedtls: Deactivate platform abstraction This makes mbedtls use the POSIX API directly and not use the own abstraction layer. The size of the ipkg decreased by about 100 bytes. Signed-off-by: Hauke Mehrtens --- package/libs/mbedtls/patches/200-config.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch index 8a98941c2a..7bd0711e2c 100644 --- a/package/libs/mbedtls/patches/200-config.patch +++ b/package/libs/mbedtls/patches/200-config.patch @@ -213,6 +213,15 @@ /** * \def MBEDTLS_MD_C +@@ -2388,7 +2388,7 @@ + * + * This module enables abstraction of common (libc) functions. + */ +-#define MBEDTLS_PLATFORM_C ++//#define MBEDTLS_PLATFORM_C + + /** + * \def MBEDTLS_RIPEMD160_C @@ -2399,7 +2399,7 @@ * Caller: library/md.c * -- 2.25.1