Diff

plugins/jingle_s5b.lua @ 392:cdea6a28369e

plugins: Use util.hashes instead of util.sha1
author Kim Alvefur <zash@zash.se>
date Tue, 25 Aug 2015 18:03:10 +0200
parent 380:0891b4e27766
child 457:73d4eb93657b
line wrap: on
line diff
--- a/plugins/jingle_s5b.lua	Tue Aug 25 16:27:38 2015 +0200
+++ b/plugins/jingle_s5b.lua	Tue Aug 25 18:03:10 2015 +0200
@@ -2,7 +2,7 @@
 
 local xmlns_s5b = "urn:xmpp:jingle:transports:s5b:1";
 local xmlns_bytestreams = "http://jabber.org/protocol/bytestreams";
-local sha1 = require "util.sha1".sha1;
+local sha1 = require "util.hashes".sha1;
 local uuid_generate = require "util.uuid".generate;
 
 local function negotiate_socks5(conn, hash)