Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/softhsm2: requires DES support in openssl
@ 2021-11-07  9:45 Fabrice Fontaine
  2021-11-07 20:21 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-11-07  9:45 UTC (permalink / raw)
  To: buildroot; +Cc: José Pekkarinen, Fabrice Fontaine

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 <fontaine.fabrice@gmail.com>
---
 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
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/softhsm2: requires DES support in openssl
  2021-11-07  9:45 [Buildroot] [PATCH 1/1] package/softhsm2: requires DES support in openssl Fabrice Fontaine
@ 2021-11-07 20:21 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2021-11-07 20:21 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: José Pekkarinen, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > 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 <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-07 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-07  9:45 [Buildroot] [PATCH 1/1] package/softhsm2: requires DES support in openssl Fabrice Fontaine
2021-11-07 20:21 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox