[openwrt/openwrt] mbedtls: activate deprecated functions

LEDE Commits lede-commits at lists.infradead.org
Fri Feb 16 11:09:47 PST 2018


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/9f5a4f8a424aeb3a7dd847d57f481c4a029fcc72

commit 9f5a4f8a424aeb3a7dd847d57f481c4a029fcc72
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Fri Feb 16 19:48:49 2018 +0100

    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 <hauke at hauke-m.de>
---
 package/libs/mbedtls/patches/200-config.patch | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch
index 3b53484..3860414 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



More information about the lede-commits mailing list