mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-02 10:28:50 +03:00
Resolve #657
This commit is contained in:
parent
a13bb9e930
commit
e7958fb1ed
4 changed files with 7 additions and 7 deletions
|
|
@ -41,7 +41,7 @@ class Application extends \RainLoop\Config\AbstractConfig
|
|||
|
||||
$sCipher = $this->Get('security', 'encrypt_cipher', '');
|
||||
if (!$sCipher || !\SnappyMail\Crypt::cipherSupported($sCipher)) {
|
||||
$sCipher && \SnappyMail\Log::warning("OpenSSL does not support {$sCipher}");
|
||||
$sCipher && \SnappyMail\Log::warning('OpenSSL', "No support for {$sCipher}");
|
||||
$aCiphers = \SnappyMail\Crypt::listCiphers();
|
||||
$this->Set('security', 'encrypt_cipher', $aCiphers[\array_rand($aCiphers)]);
|
||||
$this->Save();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue