Files
rpi-buildroot/package/softhsm2/Config.in
Fabrice Fontaine 4a97ba343e package/softhsm2: select BR2_PACKAGE_LIBOPENSSL_ENGINES
softhsm2 unconditionally calls the (deprecated) ENGINE_* logic in
libopenssl resulting in a build failure when
!BR2_PACKAGE_LIBOPENSSL_ENGINES since commit
623d3bbe43:

OSSLCryptoFactory.cpp: In constructor 'OSSLCryptoFactory::OSSLCryptoFactory()':
OSSLCryptoFactory.cpp:146:9: error: 'ENGINE_load_rdrand' was not declared in this scope
  146 |         ENGINE_load_rdrand();
      |         ^~~~~~~~~~~~~~~~~~

Fixes: 623d3bbe43
 - http://autobuild.buildroot.org/results/9d0047755d19f1f27a42a758277de8d7a3366832

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-07-27 16:18:18 +02:00

23 lines
811 B
Plaintext

config BR2_PACKAGE_SOFTHSM2
bool "softhsm2"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS # dlopen()
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES
select BR2_PACKAGE_LIBOPENSSL_ENGINES
help
SoftHSM is an implementation of a cryptographic store
accessible through a PKCS#11 interface. You can use it
to explore PKCS#11 without having a Hardware Security
Module.
https://www.opendnssec.org/softhsm
comment "softhsm2 needs a toolchain w/ C++, threads, gcc >= 4.8 and dynamic library support"
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8