Diff

mod_pubsub_feeds/mod_pubsub_feeds.lua @ 1107:04cf0b75fe2a

mod_pubsub_feeds: Use HMAC-SHA1 from util.hashes (util.hmac was deprecated)
author Kim Alvefur <zash@zash.se>
date Thu, 11 Jul 2013 16:48:26 +0200
parent 983:ac9bf3fcbcfe
child 1324:853a382c9bd6
line wrap: on
line diff
--- a/mod_pubsub_feeds/mod_pubsub_feeds.lua	Wed Jul 10 13:16:33 2013 +0200
+++ b/mod_pubsub_feeds/mod_pubsub_feeds.lua	Thu Jul 11 16:48:26 2013 +0200
@@ -20,7 +20,7 @@
 local date, time = os.date, os.time;
 local dt_parse, dt_datetime = require "util.datetime".parse, require "util.datetime".datetime;
 local uuid = require "util.uuid".generate;
-local hmac_sha1 = require "util.hmac".sha1;
+local hmac_sha1 = require "util.hashes".hmac_sha1;
 local parse_feed = require "feeds".feed_from_string;
 local st = require "util.stanza";
 --local dump = require"util.serialization".serialize;