1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-30 04:39:21 +01:00

Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2019-09-28 13:03:14 -05:00
commit d8b8275282

View File

@ -4582,10 +4582,7 @@ class SSH2
switch ($algo) {
case 'arcfour128':
case 'arcfour256':
if ($engine == Base::ENGINE_INTERNAL) {
$algos = array_diff($algos, array($algo));
$ciphers[] = $algo;
} else {
if ($engine != Base::ENGINE_INTERNAL) {
continue 2;
}
}