Browse Source

OpenSSL does not have any explicit initialization (since 1.1?)

Source commit: 9c03f1b6c412ed2286d70201e44f4c00b8a314a4
Martin Prikryl 3 years ago
parent
commit
ee9becf65e
2 changed files with 0 additions and 2 deletions
  1. 0 1
      source/core/Common.cpp
  2. 0 1
      source/core/CoreMain.cpp

+ 0 - 1
source/core/Common.cpp

@@ -4167,7 +4167,6 @@ UnicodeString __fastcall GetFileMimeType(const UnicodeString & FileName)
 //---------------------------------------------------------------------------
 TStrings * TlsCipherList()
 {
-  // OpenSSL initialization happens in NeonInitialize
   std::unique_ptr<TStrings> Result(new TStringList());
   const SSL_METHOD * Method = DTLS_client_method();
   SSL_CTX * Ctx = SSL_CTX_new(Method);

+ 0 - 1
source/core/CoreMain.cpp

@@ -174,7 +174,6 @@ void CoreInitialize()
 
   PuttyInitialize();
   TFileZillaIntf::Initialize();
-  // TlsCipherList() also relies on this to be called
   NeonInitialize();
 
   CoreLoad();