Merge branch '3.0'

This commit is contained in:
terrafrost 2023-12-02 16:42:19 -06:00
commit ea50144e42

View File

@ -1260,7 +1260,7 @@ class SSH2
$c2s_compression_algorithms = $preferred['client_to_server']['comp'] ??
SSH2::getSupportedCompressionAlgorithms();
$kex_algorithms = array_merge($kex_algorithms, array('ext-info-c'));
$kex_algorithms = array_merge($kex_algorithms, ['ext-info-c']);
// some SSH servers have buggy implementations of some of the above algorithms
switch (true) {