From b1e1bd23424391c283c32547262f1f5f66ab13c7 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Thu, 4 Aug 2016 21:43:53 +1000 Subject: [PATCH] Fix for last patch --- users.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users.c b/users.c index 6f08d4c..2631bc8 100644 --- a/users.c +++ b/users.c @@ -500,7 +500,7 @@ struct user_record *new_user(int socket) { } } while (!passok); gen_salt(&user->salt); - user->password = hash_sha256(buffer, salt); + user->password = hash_sha256(buffer, user->salt); s_putstring(socket, "You Entered:\r\n"); s_putstring(socket, "-------------------------------------\r\n");