From 30411b481d0457fdbf434898fbce94e51b0d071c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 28 Feb 2016 19:26:45 +0100 Subject: util.sasl.scram: Remove unused initial value [luacheck] --- util/sasl/scram.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/sasl') 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); -- cgit v1.2.3