1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-27 20:10:18 +02:00

[ticket/17173] Fix code according to coding guidelines

PHPBB3-17173
This commit is contained in:
Marc Alexander
2023-09-21 10:59:45 +02:00
parent 432d09b09c
commit 2a95238113

View File

@@ -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();