aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_util_sasl_scram.lua
diff options
context:
space:
mode:
authorFlorian Zeitz <florob@babelmonkeys.de>2013-04-27 17:01:31 +0200
committerFlorian Zeitz <florob@babelmonkeys.de>2013-04-27 17:01:31 +0200
commitcb793c9eb157d3db69228fef171aa17e13af8e11 (patch)
tree692cedbdcef4883e617b5b95ca7fe06f04738197 /tests/test_util_sasl_scram.lua
parente0eed7d73c5876f35ecbadcae3ca7e2742ece08c (diff)
downloadprosody-cb793c9eb157d3db69228fef171aa17e13af8e11.tar.gz
prosody-cb793c9eb157d3db69228fef171aa17e13af8e11.zip
util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashes
Diffstat (limited to 'tests/test_util_sasl_scram.lua')
-rw-r--r--tests/test_util_sasl_scram.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_util_sasl_scram.lua b/tests/test_util_sasl_scram.lua
index aeae8748..bc89829f 100644
--- a/tests/test_util_sasl_scram.lua
+++ b/tests/test_util_sasl_scram.lua
@@ -1,6 +1,6 @@
-local hmac_sha1 = require "util.hmac".sha1;
+local hmac_sha1 = require "util.hashes".hmac_sha1;
local function toHex(s)
return s and (s:gsub(".", function (c) return ("%02x"):format(c:byte()); end));
end