Changeset

1108:2da546139cb5

mod_turncredentials: Import HMAC from util.hashes
author Kim Alvefur <zash@zash.se>
date Thu, 11 Jul 2013 16:51:27 +0200
parents 1107:04cf0b75fe2a
children 1109:d988f2db9773
files mod_turncredentials/mod_turncredentials.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;