From 9864815c7c04a85d6c5932e5ae05e980c974667d Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 14 Dec 2021 23:08:27 +0100 Subject: [PATCH] package/pppd: always enable DES support in openssl Fix commit 075b01f2f7b5a9241b4bfe76db8f14af0284060c which forgot to always enable DES support in openssl resulting in the following build failure with musl: pppcrypt.c:65:22: error: 'DES_cblock' undeclared (first use in this function) 65 | DES_set_odd_parity((DES_cblock *)des_key); | ^~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/3a7358de6199bb069bd38139747e2d50f9416fd0 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pppd/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/pppd/Config.in b/package/pppd/Config.in index ca139a50e9..898d95f0ee 100644 --- a/package/pppd/Config.in +++ b/package/pppd/Config.in @@ -3,8 +3,7 @@ config BR2_PACKAGE_PPPD depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU select BR2_PACKAGE_OPENSSL if BR2_TOOLCHAIN_USES_GLIBC - select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL \ - && BR2_TOOLCHAIN_USES_GLIBC + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL help An implementation of the Point-to-point protocol.