[gnome-control-center] user-accounts: Fix comment about SHA-256 usage
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: Fix comment about SHA-256 usage
- Date: Fri, 23 Nov 2012 11:37:56 +0000 (UTC)
commit 9656b4136d5ded6a4eb1a440f8a4fadff4072eb1
Author: Bastien Nocera <hadess hadess net>
Date: Fri Nov 23 11:56:26 2012 +0100
user-accounts: Fix comment about SHA-256 usage
As per crypt(3), ID 6 is:
6 | SHA-512 (since glibc 2.7)
Spotted by Florian MÃlnner.
panels/user-accounts/um-user.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/user-accounts/um-user.c b/panels/user-accounts/um-user.c
index c84b71b..1bbaa8c 100644
--- a/panels/user-accounts/um-user.c
+++ b/panels/user-accounts/um-user.c
@@ -872,7 +872,7 @@ make_crypted (const gchar *plain)
rand = g_rand_new ();
salt = g_string_sized_new (21);
- /* SHA 256 */
+ /* SHA 512 */
g_string_append (salt, "$6$");
for (i = 0; i < 16; i++) {
g_string_append_c (salt, salt_char (rand));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]