Software /
code /
prosody-modules
Diff
mod_turncredentials/mod_turncredentials.lua @ 1108:2da546139cb5
mod_turncredentials: Import HMAC from util.hashes
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 Jul 2013 16:51:27 +0200 |
parent | 1059:95ab35ef52ba |
child | 1168:0b6b33688b75 |
line wrap: on
line diff
--- a/mod_turncredentials/mod_turncredentials.lua Thu Jul 11 16:48:26 2013 +0200 +++ b/mod_turncredentials/mod_turncredentials.lua Thu Jul 11 16:51:27 2013 +0200 @@ -3,7 +3,7 @@ -- This file is MIT/X11 licensed. local st = require "util.stanza"; -local hmac_sha1 = require "util.hmac".sha1; +local hmac_sha1 = require "util.hashes".hmac_sha1; local base64 = require "util.encodings".base64; local os_time = os.time; local secret = module:get_option("turncredentials_secret") or false;