Skip to content

Commit

Permalink
SSH2: CS adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Dec 2, 2023
1 parent 4d62a8a commit 9c0a004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpseclib/Net/SSH2.php
Expand Up @@ -1536,7 +1536,7 @@ private function key_exchange($kexinit_payload_server = false)
$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) {
Expand Down

0 comments on commit 9c0a004

Please sign in to comment.