From 5ab33904342f274b9201b09733949b588cbbb369 Mon Sep 17 00:00:00 2001 From: orignal Date: Wed, 5 Dec 2018 11:39:48 -0500 Subject: [PATCH] don't create dummy initializer for android --- libi2pd/Crypto.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libi2pd/Crypto.cpp b/libi2pd/Crypto.cpp index 60ba4c8f..25496397 100644 --- a/libi2pd/Crypto.cpp +++ b/libi2pd/Crypto.cpp @@ -1279,6 +1279,7 @@ namespace crypto } } +#ifndef ANDROID // TODO: move to InitCrypto if boost::asio::ssl is not used anymore // no_config must be called before SSL_library_init () class DummyOpenSSLInitializer @@ -1297,3 +1298,5 @@ class DummyOpenSSLInitializer static DummyOpenSSLInitializer g_OpenSSLInitializer; // must be called before // boost::asio::ssl containing static openssl_init instance_; #include +#endif +