瀏覽代碼

* 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;
   if not Result then
     Result:=LoadOpenSSL;
-  if (Not Result) and (LibreSSLSupport=lssFirst) then
+  if (Not Result) and (LibreSSLSupport=lssLast) then
     Result:=LoadLibreSSL;
 {$ENDIF}
 end;