From c7af2889fa7f55e7a4c131c6a74a08475e0a9e92 Mon Sep 17 00:00:00 2001 From: orignal Date: Wed, 5 Dec 2018 14:56:40 -0500 Subject: [PATCH] removed dummy initializer --- libi2pd/Crypto.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/libi2pd/Crypto.cpp b/libi2pd/Crypto.cpp index 25496397..51a78948 100644 --- a/libi2pd/Crypto.cpp +++ b/libi2pd/Crypto.cpp @@ -1279,24 +1279,3 @@ 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 -{ - public: - - DummyOpenSSLInitializer () - { -#if LEGACY_OPENSSL - OPENSSL_no_config (); -#else - OPENSSL_init_ssl (OPENSSL_INIT_NO_LOAD_CONFIG, NULL); -#endif - } -}; -static DummyOpenSSLInitializer g_OpenSSLInitializer; // must be called before -// boost::asio::ssl containing static openssl_init instance_; -#include -#endif -