termux-packages/packages/tor/src-common-crypto_openssl_mgt.h.patch
2018-08-24 02:34:07 +02:00

14 lines
491 B
Diff

diff -u -r ../tor-0.3.3.9/src/common/crypto_openssl_mgt.h ./src/common/crypto_openssl_mgt.h
--- ../tor-0.3.3.9/src/common/crypto_openssl_mgt.h 2018-07-13 18:25:23.000000000 +0000
+++ ./src/common/crypto_openssl_mgt.h 2018-08-23 22:30:55.658879513 +0000
@@ -50,8 +50,7 @@
#define OPENSSL_V_SERIES(a,b,c) \
OPENSSL_VER((a),(b),(c),0,0)
-#ifdef ANDROID
-/* Android's OpenSSL seems to have removed all of its Engine support. */
+#ifdef OPENSSL_NO_ENGINE
#define DISABLE_ENGINES
#endif