aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl
diff options
context:
space:
mode:
Diffstat (limited to 'util/sasl')
-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);