package/libcurl: make sure openssl supports DES
authorBaruch Siach <baruch@tkos.co.il>
Wed, 19 May 2021 19:01:48 +0000 (22:01 +0300)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 19 May 2021 20:13:58 +0000 (22:13 +0200)
DES support in openssl is optional since commit a83d41867c8d
("package/libopenssl: add option to enable some features"). curl uses
DES support in openssl when enabled. Select DES support to avoid build
failure.

Fixes:
http://autobuild.buildroot.net/results/8931fd2b71eb2490cdc041b47eff58377ac823da/
http://autobuild.buildroot.net/results/f159195adf05c375d7d314a270afd3a55d43ebdd/
http://autobuild.buildroot.net/results/e143c75bccd7bcd4216954b76099404a38cf9bc1/

Cc: Erwan GAUTRON <erwan.gautron@bertin.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Matthew Weber <matthew.weber@collins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libcurl/Config.in

index b89c46f5eff710c37742e4ea3b339251e0dc92df..466f9ee3a1c79136ee9f83a9d8aa492af5224b6d 100644 (file)
@@ -51,6 +51,7 @@ choice
 config BR2_PACKAGE_LIBCURL_OPENSSL
        bool "OpenSSL"
        depends on BR2_PACKAGE_OPENSSL
+       select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
 
 config BR2_PACKAGE_LIBCURL_BEARSSL
        bool "BearSSL"