mirror of
https://github.com/danog/phpseclib.git
synced 2024-11-26 12:25:24 +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) {
|
||||
case 'arcfour128':
|
||||
case 'arcfour256':
|
||||
if ($engine == CRYPT_ENGINE_INTERNAL) {
|
||||
$algos = array_diff($algos, array($algo));
|
||||
$ciphers[] = $algo;
|
||||
} else {
|
||||
if ($engine != CRYPT_ENGINE_INTERNAL) {
|
||||
continue 2;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user