mbedtls: activate deprecated functions
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 16 Feb 2018 18:48:49 +0000 (19:48 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 16 Feb 2018 19:09:34 +0000 (20:09 +0100)
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@hauke-m.de>
package/libs/mbedtls/patches/200-config.patch

index 3b534840aa9581e0bd08546bd60fe6937a4e93c0..3860414cde573e595f868dbf525d9b8345e7c007 100644 (file)
@@ -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