Преглед изворни кода

* Make sure libressl is loaded correctly. Patch from Zeljko.

(cherry picked from commit ab827e233f9c059e561774b74bda151daaaaca8f)
Michaël Van Canneyt пре 1 година
родитељ
комит
ece914d007
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/openssl/src/openssl.pas

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

@@ -5827,7 +5827,7 @@ begin
     Result:=LoadLibreSSL;
     Result:=LoadLibreSSL;
   if not Result then
   if not Result then
     Result:=LoadOpenSSL;
     Result:=LoadOpenSSL;
-  if (Not Result) and (LibreSSLSupport=lssFirst) then
+  if (Not Result) and (LibreSSLSupport=lssLast) then
     Result:=LoadLibreSSL;
     Result:=LoadLibreSSL;
 {$ENDIF}
 {$ENDIF}
 end;
 end;