[Buildroot] [git commit] package/opensc: requires DES in openssl

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Aug 13 11:00:13 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=2ce6aaee9dee1fdc79470a49d1c7a9299484b384
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Enable DES in openssl to avoid the following build failure raised since
the addition of the package in commit
8aaa7ecbce1d10cbcd880c3da5e429988f96176a:

In file included from sm-common.c:51:
sm-common.h:33:1: error: unknown type name 'DES_LONG'
   33 | DES_LONG DES_cbc_cksum_3des(const unsigned char *in, DES_cblock *output, long length,
      | ^~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/25d0933406dea28201dadc90abd32072afab720b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/opensc/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/opensc/Config.in b/package/opensc/Config.in
index 6a0329fb39..2cec096ac2 100644
--- a/package/opensc/Config.in
+++ b/package/opensc/Config.in
@@ -5,6 +5,7 @@ config BR2_PACKAGE_OPENSC
 	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_PCSC_LITE
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
 	select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL
 	help
 	  OpenSC provides a set of libraries and utilities to work



More information about the buildroot mailing list