瀏覽代碼

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 <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine 3 年之前
父節點
當前提交
9864815c7c
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      package/pppd/Config.in

+ 1 - 2
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.