From d5850f263d9be318f52f20732bb6d48790b1e3ee Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 7 Nov 2021 10:45:14 +0100 Subject: [PATCH] package/softhsm2: requires DES support in openssl Fix the following build failure raised since the addition of the package in commit 53873b6daecd2a97740833cae7c5b4cdb185a6b2: OSSLDES.cpp: In member function 'virtual const EVP_CIPHER* OSSLDES::getCipher() const': OSSLDES.cpp:81:12: error: 'EVP_des_cbc' was not declared in this scope; did you mean 'EVP_sm4_cbc'? 81 | return EVP_des_cbc(); | ^~~~~~~~~~~ | EVP_sm4_cbc Fixes: - http://autobuild.buildroot.org/results/27d471c4ad1cdd5f2332b949f71cba86723d349f Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/softhsm2/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/softhsm2/Config.in b/package/softhsm2/Config.in index 5d84997c07..58f3e3086e 100644 --- a/package/softhsm2/Config.in +++ b/package/softhsm2/Config.in @@ -5,6 +5,7 @@ config BR2_PACKAGE_SOFTHSM2 depends on !BR2_STATIC_LIBS # dlopen() select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES help SoftHSM is an implementation of a cryptographic store accessible through a PKCS#11 interface. You can use it