Pārlūkot izejas kodu

* Fix wrong return value in case of multithreaded initialize. Fixes issue #40676

Michaël Van Canneyt 1 gadu atpakaļ
vecāks
revīzija
29b14fec57
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      packages/openssl/src/openssl.pas

+ 1 - 1
packages/openssl/src/openssl.pas

@@ -5859,7 +5859,7 @@ begin
   EnterCriticalSection(SSLCS);
   try
     if SSLloaded then
-      Exit;
+      Exit(True);
     Result:=LoadLibraries(aSSLName,aCryptoName);
     if Not Result then
       begin