@@ -73,6 +73,9 @@ config BR2_PACKAGE_STRONGSWAN_TNCCS_20
config BR2_PACKAGE_STRONGSWAN_TNCCS_DYNAMIC
bool "Enable dynamic TNCCS protocol discovery module"
+config BR2_PACKAGE_STRONGSWAN_MD4
+ bool "Enable MD4 hash algorithm"
+
config BR2_PACKAGE_STRONGSWAN_EAP
bool "Enable EAP protocols"
@@ -126,6 +129,7 @@ config BR2_PACKAGE_STRONGSWAN_EAP_GTC
config BR2_PACKAGE_STRONGSWAN_EAP_MSCHAPV2
bool "Enable EAP-MSCHAPv2"
+ select BR2_PACKAGE_STRONGSWAN_MD4
default y
config BR2_PACKAGE_STRONGSWAN_EAP_PEAP
@@ -37,6 +37,7 @@ STRONGSWAN_CONF_OPTS += \
--enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
--enable-wolfssl=$(if $(BR2_PACKAGE_STRONGSWAN_WOLFSSL),yes,no) \
+ --enable-md4=$(if $(BR2_PACKAGE_STRONGSWAN_MD4),yes,no) \
--with-ipseclibdir=/usr/lib \
--with-plugindir=/usr/lib/ipsec/plugins \
--with-imcvdir=/usr/lib/ipsec/imcvs \
Add the option to enable the md4 hash algorithm and default it to 'no' since this is a new option. Since md4 is required by EAP-MSCHAPv2 it is selected by BR2_PACKAGE_STRONGSWAN_EAP_MSCHAPV2. See https://wiki.strongswan.org/projects/strongswan/wiki/Autoconf for further details. Signed-off-by: Martin Elshuber <martin.elshuber@theobroma-systems.com> --- package/strongswan/Config.in | 4 ++++ package/strongswan/strongswan.mk | 1 + 2 files changed, 5 insertions(+)