mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 11:52:48 +00:00
SSH2: update libsodium check
This commit is contained in:
parent
f04d69a3eb
commit
66efabda53
@ -1324,7 +1324,7 @@ class SSH2
|
||||
$identifier = 'SSH-2.0-phpseclib_2.0';
|
||||
|
||||
$ext = [];
|
||||
if (function_exists('\\Sodium\\library_version_major')) {
|
||||
if (extension_loaded('sodium')) {
|
||||
$ext[] = 'libsodium';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user