summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-03-21 01:12:22 +0100
committerMichael Tänzer <neo@nhng.de>2014-03-21 01:12:22 +0100
commit57ba86ff84eb3dcc15f8122b29efeae54434652e (patch)
treeeb63e28dc0a81a3d272a14169b92b51f189954c0
parent9183b44586f9eb798057e0a42a9eee5be4f96160 (diff)
downloadcacert-devel-57ba86ff84eb3dcc15f8122b29efeae54434652e.tar.gz
cacert-devel-57ba86ff84eb3dcc15f8122b29efeae54434652e.tar.xz
cacert-devel-57ba86ff84eb3dcc15f8122b29efeae54434652e.zip
bug 807: Apparently one should write SHA algorithms with a hyphen
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--includes/lib/account.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/lib/account.php b/includes/lib/account.php
index 6bc2c1e..30d68a3 100644
--- a/includes/lib/account.php
+++ b/includes/lib/account.php
@@ -118,15 +118,15 @@ class HashAlgorithms {
public static function getInfo() {
return array(
'sha256' => array(
- 'name' => 'SHA256',
+ 'name' => 'SHA-256',
'info' => _('Currently recommended, because the other algorithms might break on some older versions of the GnuTLS library (older than 3.x) still shipped in Debian for example.'),
),
'sha384' => array(
- 'name' => 'SHA384',
+ 'name' => 'SHA-384',
'info' => '',
),
'sha512' => array(
- 'name' => 'SHA512',
+ 'name' => 'SHA-512',
'info' => _('Highest protection against hash collision attacks of the algorithms offered here.'),
),
);