Mercurial > prosody-hg
diff tests/test_util_sasl_scram.lua @ 5537:15464633d8fb
util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashes
| author | Florian Zeitz <florob@babelmonkeys.de> |
|---|---|
| date | Sat, 27 Apr 2013 17:01:31 +0200 |
| parents | 748246005893 |
| children |
line wrap: on
line diff
--- a/tests/test_util_sasl_scram.lua Sat Apr 27 22:46:01 2013 +0200 +++ b/tests/test_util_sasl_scram.lua Sat Apr 27 17:01:31 2013 +0200 @@ -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
