Comparison

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
comparison
equal deleted inserted replaced
1106:a53f9989a859 1107:04cf0b75fe2a
18 local pubsub = module:depends"pubsub"; 18 local pubsub = module:depends"pubsub";
19 19
20 local date, time = os.date, os.time; 20 local date, time = os.date, os.time;
21 local dt_parse, dt_datetime = require "util.datetime".parse, require "util.datetime".datetime; 21 local dt_parse, dt_datetime = require "util.datetime".parse, require "util.datetime".datetime;
22 local uuid = require "util.uuid".generate; 22 local uuid = require "util.uuid".generate;
23 local hmac_sha1 = require "util.hmac".sha1; 23 local hmac_sha1 = require "util.hashes".hmac_sha1;
24 local parse_feed = require "feeds".feed_from_string; 24 local parse_feed = require "feeds".feed_from_string;
25 local st = require "util.stanza"; 25 local st = require "util.stanza";
26 --local dump = require"util.serialization".serialize; 26 --local dump = require"util.serialization".serialize;
27 27
28 local xmlns_atom = "http://www.w3.org/2005/Atom"; 28 local xmlns_atom = "http://www.w3.org/2005/Atom";