Browse Source

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

Michaël Van Canneyt 1 year ago
parent
commit
ab827e233f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/openssl/src/openssl.pas

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

@@ -5839,7 +5839,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;