mbedtls: enable MBEDTLS_DHM_C
authorMagnus Kroken <mkroken@gmail.com>
Fri, 9 Dec 2016 20:07:37 +0000 (21:07 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 12 Dec 2016 09:22:19 +0000 (10:22 +0100)
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@gmail.com>
package/libs/mbedtls/Makefile
package/libs/mbedtls/patches/200-config.patch

index 7b5096715dd6d15feb8937ceefbd6bbab1cdc051..c5bb3eee9b8de4a6b630ddb4f1890ed908cc1f32 100644 (file)
@@ -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
index 8a3531f858abf21e916dd89faf912bf5e364be22..75d8342d3ea7e9ac98c023fffc5a9f9148468980 100644 (file)
  
  /**
   * \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
   *