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