don't create dummy initializer for android

This commit is contained in:
orignal
2018-12-05 11:39:48 -05:00
parent 67f60f1889
commit 5ab3390434

View File

@@ -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 <boost/asio/ssl.hpp>
#endif