SSH2: update libsodium check

This commit is contained in:
terrafrost 2019-08-07 23:29:33 -05:00
parent f04d69a3eb
commit 66efabda53
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}