mirror of
https://github.com/danog/phpseclib.git
synced 2024-11-30 04:39:21 +01:00
SSH2: arcfour128 / arcfour256 was being included twice
This commit is contained in:
parent
ee2ac9f818
commit
a34a4edac5
@ -4598,10 +4598,7 @@ class Net_SSH2
|
|||||||
switch ($algo) {
|
switch ($algo) {
|
||||||
case 'arcfour128':
|
case 'arcfour128':
|
||||||
case 'arcfour256':
|
case 'arcfour256':
|
||||||
if ($engine == CRYPT_ENGINE_INTERNAL) {
|
if ($engine != CRYPT_ENGINE_INTERNAL) {
|
||||||
$algos = array_diff($algos, array($algo));
|
|
||||||
$ciphers[] = $algo;
|
|
||||||
} else {
|
|
||||||
continue 2;
|
continue 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user