aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-07 19:18:50 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-07 19:18:50 +0000
commitf48883b6ab37867f687aa6279f43da6a56cd40f1 (patch)
treeac0e72316d86c2f578943a42491152bb8276e9c5 /core/s2smanager.lua
parent2e6fcdb2d0126ddf6dac449d950ffbf5c7c523ba (diff)
parentd3e7e2f1a7007f79edd38daf0adcf63e4fe950e3 (diff)
downloadprosody-f48883b6ab37867f687aa6279f43da6a56cd40f1.tar.gz
prosody-f48883b6ab37867f687aa6279f43da6a56cd40f1.zip
Automated merge with http://waqas.ath.cx:8000/
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index ae834a9c..7827381d 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -43,7 +43,7 @@ local log = logger_init("s2smanager");
local sha256_hash = require "util.hashes".sha256;
-local dialback_secret = "This is very secret!!! Ha!";
+local dialback_secret = sha256_hash(tostring{} .. math.random() .. socket.gettime(), true);
local dns = require "net.dns";