aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-28 19:26:45 +0100
committerKim Alvefur <zash@zash.se>2016-02-28 19:26:45 +0100
commite5cf84bdcdae02d49a983d210e7d02409ff28b70 (patch)
tree985c30bda5620f2a5a1434d20a73c33e2a3c0874
parentcedba44c5ae12f0241b576ab7415e18935e50a9b (diff)
downloadprosody-e5cf84bdcdae02d49a983d210e7d02409ff28b70.tar.gz
prosody-e5cf84bdcdae02d49a983d210e7d02409ff28b70.zip
util.sasl.scram: Remove unused initial value [luacheck]
-rw-r--r--util/sasl/scram.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua
index b3c4edc8..febbc639 100644
--- a/util/sasl/scram.lua
+++ b/util/sasl/scram.lua
@@ -163,7 +163,7 @@ local function scram_gen(hash_name, H_f, HMAC_f)
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);