[Buildroot] [git commit] package/stunnel: doesn't build with libressl
Peter Korsgaard
peter at korsgaard.com
Sun Apr 10 21:08:53 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=e4032672736614397c803584ba7bb8a20ae1896e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
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.
More information about the buildroot
mailing list