mirror of
https://github.com/danog/phpseclib.git
synced 2024-11-30 04:39:21 +01: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