diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2018-05-21 13:58:54 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-05-22 20:47:21 +0200 |
commit | 2ea8f9c244fd24133d0891b8a96a7462843fa905 (patch) | |
tree | fd43820ddfb9c07c549146e31c808c6add328d16 /package/libs/mbedtls | |
parent | f2c8f6dc3249b506b915741d12905402dfffe162 (diff) | |
download | upstream-2ea8f9c244fd24133d0891b8a96a7462843fa905.tar.gz upstream-2ea8f9c244fd24133d0891b8a96a7462843fa905.tar.bz2 upstream-2ea8f9c244fd24133d0891b8a96a7462843fa905.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')
-rw-r--r-- | package/libs/mbedtls/patches/200-config.patch | 9 |
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 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 * |