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
commit1dc0a831cfd7372d5d76c54bd897e93c198a3a37 (patch)
tree692cedbdcef4883e617b5b95ca7fe06f04738197 /tests/test_util_sasl_scram.lua
parenta7340fef1ce2d91665ba93f728c66f7183002a1f (diff)
downloadprosody-1dc0a831cfd7372d5d76c54bd897e93c198a3a37.tar.gz
prosody-1dc0a831cfd7372d5d76c54bd897e93c198a3a37.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