1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: terrafrost <terrafrost@php.net>
Date: Sat, 2 Dec 2023 16:42:09 -0600
Subject: SSH2: CS adjustment
Origin: upstream, https://github.com/phpseclib/phpseclib/commit/9c0a004d01e0b3920a03d4f6a8496c6dae69fdb4
---
phpseclib/Net/SSH2.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php
index 9a98f8c..ff1df8f 100644
--- a/phpseclib/Net/SSH2.php
+++ b/phpseclib/Net/SSH2.php
@@ -1495,7 +1495,7 @@ class SSH2
$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) {
|