summaryrefslogtreecommitdiff
path: root/package/tor/patches/patch-src_lib_crypt_ops_crypto_openssl_mgt_c
blob: e159900844437769d50d4ee3da7c71c250b1d7b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- tor-0.4.8.10.orig/src/lib/crypt_ops/crypto_openssl_mgt.c	2023-12-08 19:49:19.000000000 +0100
+++ tor-0.4.8.10/src/lib/crypt_ops/crypto_openssl_mgt.c	2024-04-07 11:39:44.453246186 +0200
@@ -40,6 +40,11 @@ ENABLE_GCC_WARNING("-Wredundant-decls")
 
 #include <string.h>
 
+#ifdef OPENSSL_NO_ENGINE
+/* Android's OpenSSL seems to have removed all of its Engine support. */
+#define DISABLE_ENGINES
+#endif
+
 #ifndef NEW_THREAD_API
 /** A number of preallocated mutexes for use by OpenSSL. */
 static tor_mutex_t **openssl_mutexes_ = NULL;