mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17173] Fix code according to coding guidelines
PHPBB3-17173
This commit is contained in:
parent
432d09b09c
commit
2a95238113
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ $hash = hash_file('sha384', $file_path, true);
|
|||
try
|
||||
{
|
||||
$signature = sodium_crypto_sign_detached($hash, $secret_key);
|
||||
} catch (SodiumException $e)
|
||||
}
|
||||
catch (SodiumException $e)
|
||||
{
|
||||
$keypair = sodium_crypto_sign_keypair();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue