Procházet zdrojové kódy

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

Michaël Van Canneyt před 1 rokem
rodič
revize
29b14fec57
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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