Software /
code /
prosody
Diff
core/s2smanager.lua @ 1308:7b20a3d87244
s2smanager: Use a UUID as the dialback secret
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 04 Jun 2009 21:12:36 +0500 |
parent | 1204:dea89234e545 |
child | 1345:35b5686d73ea |
line wrap: on
line diff
--- a/core/s2smanager.lua Thu Jun 04 21:11:33 2009 +0500 +++ b/core/s2smanager.lua Thu Jun 04 21:12:36 2009 +0500 @@ -35,7 +35,7 @@ local sha256_hash = require "util.hashes".sha256; -local dialback_secret = sha256_hash(tostring{} .. math.random() .. socket.gettime(), true); +local dialback_secret = uuid_gen(); local adns = require "net.adns";