Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Net/Net.OpenSSL.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3636,7 +3636,9 @@ class procedure TSSLTools.LoadSslLibs;
'libcrypto.so.1.1',
'libcrypto.so'
{$ELSEIF DEFINED(MACOS)}
'libssl.dylib'
'libcrypto.3.dylib',
'libcrypto.1.1.dylib',
'libcrypto.dylib'
{$ENDIF}
];
end;
Expand Down Expand Up @@ -3812,7 +3814,7 @@ class procedure TSSLTools.LoadSslLibs;
begin
if (FLibSSL <> '') then
LSslLibs := [FLibSSL]
else if (LIBCRYPTO_NAME <> '') then
else if (LIBSSL_NAME <> '') then
LSslLibs := [LIBSSL_NAME]
else
begin
Expand All @@ -3830,7 +3832,9 @@ class procedure TSSLTools.LoadSslLibs;
'libssl.so.1.1',
'libssl.so'
{$ELSEIF DEFINED(MACOS)}
'libcrypto.dylib'
'libssl.3.dylib',
'libssl.1.1.dylib',
'libssl.dylib'
{$ENDIF}
];
end;
Expand Down