package/softhsm2: requires DES support in openssl

Fix the following build failure raised since the addition of the package
in commit 53873b6dae:

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 <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2021-11-07 10:45:14 +01:00 committed by Peter Korsgaard
parent c4b312914f
commit d5850f263d

View File

@ -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