From e4032672736614397c803584ba7bb8a20ae1896e Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 6 Apr 2022 19:25:37 +0200 Subject: [PATCH] package/stunnel: doesn't build with libressl Fix the following build failure with libressl: In file included from tls.c:39: prototypes.h:774:8: error: unknown type name 'CRYPTO_RWLOCK' 774 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/c48ba8e71dc917b2e11051088dd252be81b3609f Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/stunnel/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/stunnel/Config.in b/package/stunnel/Config.in index 087fecd930..a46e2f0316 100644 --- a/package/stunnel/Config.in +++ b/package/stunnel/Config.in @@ -2,7 +2,8 @@ config BR2_PACKAGE_STUNNEL bool "stunnel" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES help Stunnel is a program that wraps any TCP connection with an SSL connection.