projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65f6c27
)
util.sasl.scram: Remove unused initial value [luacheck]
author
Kim Alvefur
<zash@zash.se>
Sun, 28 Feb 2016 18:26:45 +0000
(19:26 +0100)
committer
Kim Alvefur
<zash@zash.se>
Sun, 28 Feb 2016 18:26:45 +0000
(19:26 +0100)
util/sasl/scram.lua
patch
|
blob
|
history
diff --git
a/util/sasl/scram.lua
b/util/sasl/scram.lua
index b3c4edc8f090ab6287b103a0a599f9ded9bcd1ad..febbc63981c5043407ea33c1291571e230f14b23 100644
(file)
--- 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);