aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-06-03 17:47:51 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-06-03 17:47:51 +0500
commitff82c8510b8b301b09ca095fd3eceddaa3582677 (patch)
treef97bf91d6129968dcb08e3571ad4f7390d9ec01b
parent52fb0337ae6962e7b40666796219906bb93596d9 (diff)
downloadprosody-ff82c8510b8b301b09ca095fd3eceddaa3582677.tar.gz
prosody-ff82c8510b8b301b09ca095fd3eceddaa3582677.zip
util.sasl.scram: Fixed a log level.
-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 52656a89..1340423c 100644
--- a/util/sasl/scram.lua
+++ b/util/sasl/scram.lua
@@ -105,7 +105,7 @@ function saltedPasswordSHA1(password, salt, iteration_count)
return false, "inappropriate argument types"
end
if iteration_count < 4096 then
- log("warning", "Iteration count < 4096 which is the suggested minimum according to RFC 5802.")
+ log("warn", "Iteration count < 4096 which is the suggested minimum according to RFC 5802.")
end
return true, Hi(hmac_sha1, password, salt, iteration_count);