mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:44:15 +00:00
don't create dummy initializer for android
This commit is contained in:
parent
67f60f1889
commit
5ab3390434
@ -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…
x
Reference in New Issue
Block a user