diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-06-04 21:12:36 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-06-04 21:12:36 +0500 |
commit | 602805644694ad714e72448097c29b98c86a5287 (patch) | |
tree | 96d26db5713b88fa1fa619c4560e01ea81427e71 /core | |
parent | 8a14b5d231b94fd6f709f068e8b2aa4cdf0b807f (diff) | |
download | prosody-602805644694ad714e72448097c29b98c86a5287.tar.gz prosody-602805644694ad714e72448097c29b98c86a5287.zip |
s2smanager: Use a UUID as the dialback secret
Diffstat (limited to 'core')
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 386e0794..b8faf712 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -35,7 +35,7 @@ local log = logger_init("s2smanager"); 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"; |