diff mbox series

[1/1] package/opensc: requires DES in openssl

Message ID 20220812204927.173993-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/opensc: requires DES in openssl | expand

Commit Message

Fabrice Fontaine Aug. 12, 2022, 8:49 p.m. UTC
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@gmail.com>
---
 package/opensc/Config.in | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Petazzoni Aug. 13, 2022, 11 a.m. UTC | #1
On Fri, 12 Aug 2022 22:49:27 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> 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@gmail.com>
> ---
>  package/opensc/Config.in | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
diff mbox series

Patch

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