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 | 30411b481d0457fdbf434898fbce94e51b0d071c (patch) | |
tree | 985c30bda5620f2a5a1434d20a73c33e2a3c0874 /util/sasl/scram.lua | |
parent | 5cc8cbce9c81fba7c3dedcd37178d46605589dad (diff) | |
download | prosody-30411b481d0457fdbf434898fbce94e51b0d071c.tar.gz prosody-30411b481d0457fdbf434898fbce94e51b0d071c.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); |