SSH2: arcfour128 / arcfour256 was being included twice

This commit is contained in:
terrafrost 2019-09-28 12:57:33 -05:00
parent ee2ac9f818
commit a34a4edac5

View File

@ -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;
}
}