Browse Source

don't create dummy initializer for android

pull/1277/head
orignal 6 years ago
parent
commit
5ab3390434
  1. 3
      libi2pd/Crypto.cpp

3
libi2pd/Crypto.cpp

@ -1279,6 +1279,7 @@ namespace crypto
} }
} }
#ifndef ANDROID
// TODO: move to InitCrypto if boost::asio::ssl is not used anymore // TODO: move to InitCrypto if boost::asio::ssl is not used anymore
// no_config must be called before SSL_library_init () // no_config must be called before SSL_library_init ()
class DummyOpenSSLInitializer class DummyOpenSSLInitializer
@ -1297,3 +1298,5 @@ class DummyOpenSSLInitializer
static DummyOpenSSLInitializer g_OpenSSLInitializer; // must be called before static DummyOpenSSLInitializer g_OpenSSLInitializer; // must be called before
// boost::asio::ssl containing static openssl_init instance_; // boost::asio::ssl containing static openssl_init instance_;
#include <boost/asio/ssl.hpp> #include <boost/asio/ssl.hpp>
#endif

Loading…
Cancel
Save