(cherry picked from commit ab827e233f9c059e561774b74bda151daaaaca8f)
@@ -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
{$ENDIF}
end;