mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-14 18:15:39 +01:00
Merge branch '3.0'
This commit is contained in:
commit
cd89d1766b
@ -4520,7 +4520,7 @@ class SSH2
|
||||
foreach ($engines as $engine) {
|
||||
foreach ($algos as $algo) {
|
||||
$obj = self::encryption_algorithm_to_crypt_instance($algo);
|
||||
if ($obj instanceof Rijndael ) {
|
||||
if ($obj instanceof Rijndael) {
|
||||
$obj->setKeyLength(preg_replace('#[^\d]#', '', $algo));
|
||||
}
|
||||
switch ($algo) {
|
||||
|
Loading…
Reference in New Issue
Block a user