mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-27 12:44:38 +01: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) {
|
||||
if ($this->isValidEngine($engine)) {
|
||||
$this->engine = $this->preferredEngine;
|
||||
$this->engine = $engine;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user