From: Hauke Mehrtens Date: Fri, 16 Feb 2018 18:48:49 +0000 (+0100) Subject: mbedtls: activate deprecated functions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9f5a4f8a424aeb3a7dd847d57f481c4a029fcc72;p=openwrt%2Fstaging%2Fluka.git mbedtls: activate deprecated functions Some functions used by a lot of other software was renamed and is only active when deprecated functions are allowed, deactivate the removal of deprecated functions for now. Fixes: 75c5ab4caf9 ("mbedtls: update to version 2.7.0") Signed-off-by: Hauke Mehrtens --- diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch index 3b534840aa..3860414cde 100644 --- a/package/libs/mbedtls/patches/200-config.patch +++ b/package/libs/mbedtls/patches/200-config.patch @@ -1,14 +1,5 @@ --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h -@@ -221,7 +221,7 @@ - * - * Uncomment to get errors on using deprecated functions. - */ --//#define MBEDTLS_DEPRECATED_REMOVED -+#define MBEDTLS_DEPRECATED_REMOVED - - /* \} name SECTION: System support */ - @@ -566,17 +566,17 @@ * * Comment macros to disable the curve and functions for it