1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-26 20:35:21 +01:00

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