mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-19 19:55:11 +00:00
Crypt/Base: engine wasn't being set correctly
This commit is contained in:
parent
3f3e0cac98
commit
9a400c4094
@ -1651,7 +1651,7 @@ class Crypt_Base
|
|||||||
);
|
);
|
||||||
foreach ($candidateEngines as $engine) {
|
foreach ($candidateEngines as $engine) {
|
||||||
if ($this->isValidEngine($engine)) {
|
if ($this->isValidEngine($engine)) {
|
||||||
$this->engine = $this->preferredEngine;
|
$this->engine = $engine;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user