Mercurial > prosody-hg
diff core/s2smanager.lua @ 600:2255a2e84ddc
Automated merge with http://waqas.ath.cx:8000/
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 07 Dec 2008 19:18:50 +0000 |
| parents | 121d82243023 |
| children | 4ae3e81513f3 |
line wrap: on
line diff
--- a/core/s2smanager.lua Mon Dec 08 00:18:01 2008 +0500 +++ b/core/s2smanager.lua Sun Dec 07 19:18:50 2008 +0000 @@ -43,7 +43,7 @@ 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";
