Changeset

7217:0a43b7ffa3af

util.sasl.scram: Remove unused initial value [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 28 Feb 2016 19:26:45 +0100
parents 7216:65e36b81d56a
children 7218:6226307f6ac4 7219:c12c9b9c1949
files util/sasl/scram.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/sasl/scram.lua	Sun Feb 28 19:26:14 2016 +0100
+++ b/util/sasl/scram.lua	Sun Feb 28 19:26:45 2016 +0100
@@ -163,7 +163,7 @@
 				salt = generate_uuid();
 				iteration_count = default_i;
 
-				local succ = false;
+				local succ;
 				succ, stored_key, server_key = getAuthenticationDatabaseSHA1(password, salt, iteration_count);
 				if not succ then
 					log("error", "Generating authentication database failed. Reason: %s", stored_key);