[source] mbedtls: enable MBEDTLS_DHM_C
LEDE Commits
lede-commits at lists.infradead.org
Mon Dec 12 01:23:53 PST 2016
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/4b8c69258e5ff10178638f0503e59175e452a3df
commit 4b8c69258e5ff10178638f0503e59175e452a3df
Author: Magnus Kroken <mkroken at gmail.com>
AuthorDate: Fri Dec 9 21:07:37 2016 +0100
mbedtls: enable MBEDTLS_DHM_C
This option is required by OpenVPN, and OpenVPN 2.4 uses mbedTLS 2.x.
DHM_C is also already enabled in the PolarSSL 1.3.x config.h.
Signed-off-by: Magnus Kroken <mkroken at gmail.com>
---
package/libs/mbedtls/Makefile | 2 +-
package/libs/mbedtls/patches/200-config.patch | 9 ---------
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/package/libs/mbedtls/Makefile b/package/libs/mbedtls/Makefile
index 7b50967..c5bb3ee 100644
--- a/package/libs/mbedtls/Makefile
+++ b/package/libs/mbedtls/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mbedtls
PKG_VERSION:=2.4.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_USE_MIPS16:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-gpl.tgz
diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch
index 8a3531f..75d8342 100644
--- a/package/libs/mbedtls/patches/200-config.patch
+++ b/package/libs/mbedtls/patches/200-config.patch
@@ -179,15 +179,6 @@
/**
* \def MBEDTLS_DES_C
-@@ -1740,7 +1740,7 @@
- * This module is used by the following key exchanges:
- * DHE-RSA, DHE-PSK
- */
--#define MBEDTLS_DHM_C
-+//#define MBEDTLS_DHM_C
-
- /**
- * \def MBEDTLS_ECDH_C
@@ -2158,7 +2158,7 @@
* Caller: library/mbedtls_md.c
*
More information about the lede-commits
mailing list