[Buildroot] [PATCH 1/1] package/pppd: always enable DES support in openssl

Fabrice Fontaine fontaine.fabrice at gmail.com
Tue Dec 14 22:08:27 UTC 2021


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 <fontaine.fabrice at gmail.com>
---
 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.
 
-- 
2.33.0




More information about the buildroot mailing list