Software /
code /
prosody
Diff
util/sasl/scram.lua @ 7217:0a43b7ffa3af
util.sasl.scram: Remove unused initial value [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Feb 2016 19:26:45 +0100 |
parent | 7216:65e36b81d56a |
child | 7218:6226307f6ac4 |
line wrap: on
line diff
--- a/util/sasl/scram.lua Sun Feb 28 19:26:14 2016 +0100 +++ b/util/sasl/scram.lua Sun Feb 28 19:26:45 2016 +0100 @@ -163,7 +163,7 @@ 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);