diff options
author | Kim Alvefur <zash@zash.se> | 2016-02-28 19:26:45 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-02-28 19:26:45 +0100 |
commit | e5cf84bdcdae02d49a983d210e7d02409ff28b70 (patch) | |
tree | 985c30bda5620f2a5a1434d20a73c33e2a3c0874 /util/sasl/scram.lua | |
parent | cedba44c5ae12f0241b576ab7415e18935e50a9b (diff) | |
download | prosody-e5cf84bdcdae02d49a983d210e7d02409ff28b70.tar.gz prosody-e5cf84bdcdae02d49a983d210e7d02409ff28b70.zip |
util.sasl.scram: Remove unused initial value [luacheck]
Diffstat (limited to 'util/sasl/scram.lua')
-rw-r--r-- | util/sasl/scram.lua | 2 |
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); |