Skip to content

Commit

Permalink
Merge branch '3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Dec 2, 2023
2 parents 99c7aa6 + 9c0a004 commit ea50144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpseclib/Net/SSH2.php
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ private function key_exchange($kexinit_payload_server = false): bool
$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) {
Expand Down

0 comments on commit ea50144

Please sign in to comment.