aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/mbedtls/patches
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-05-21 13:58:54 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-08-08 21:32:26 +0200
commit6603a0c23274507f2daa75880e56e9dc1343d8c8 (patch)
tree81c941f02202e5c9a3d4c154a83e600f19d5d4e6 /package/libs/mbedtls/patches
parentae1ae07513328aa5a1ba9b9477eb1a33f8837994 (diff)
downloadupstream-6603a0c23274507f2daa75880e56e9dc1343d8c8.tar.gz
upstream-6603a0c23274507f2daa75880e56e9dc1343d8c8.tar.bz2
upstream-6603a0c23274507f2daa75880e56e9dc1343d8c8.zip
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 <hauke@hauke-m.de>
Diffstat (limited to 'package/libs/mbedtls/patches')
-rw-r--r--package/libs/mbedtls/patches/200-config.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch
index 70ef95477c..26776bf945 100644
--- a/package/libs/mbedtls/patches/200-config.patch
+++ b/package/libs/mbedtls/patches/200-config.patch
@@ -210,6 +210,15 @@
/**
* \def MBEDTLS_MD_C
+@@ -2354,7 +2354,7 @@
+ *
+ * This module enables abstraction of common (libc) functions.
+ */
+-#define MBEDTLS_PLATFORM_C
++//#define MBEDTLS_PLATFORM_C
+
+ /**
+ * \def MBEDTLS_RIPEMD160_C
@@ -2365,7 +2365,7 @@
* Caller: library/md.c
*