SSH2: update libsodium check

This commit is contained in:
terrafrost 2019-08-07 23:29:33 -05:00
parent f04d69a3eb
commit 66efabda53

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