diff --git a/Net/Net.OpenSSL.pas b/Net/Net.OpenSSL.pas index c019c8e..57b0804 100644 --- a/Net/Net.OpenSSL.pas +++ b/Net/Net.OpenSSL.pas @@ -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; @@ -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 @@ -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;