diff options
author | Marco Cirillo <maranda@lightwitch.org> | 2012-02-24 15:34:25 +0000 |
---|---|---|
committer | Marco Cirillo <maranda@lightwitch.org> | 2012-02-24 15:34:25 +0000 |
commit | c5f76e99d91e5e0fc2c2b47a7ce7499c46fb57ec (patch) | |
tree | aafdca55468201207ed86c6fcd352f1f0d86bc4e /plugins/s2s/mod_s2s.lua | |
parent | 35ddcf0af31198baef0f4ce2e580b041486d5194 (diff) | |
download | prosody-c5f76e99d91e5e0fc2c2b47a7ce7499c46fb57ec.tar.gz prosody-c5f76e99d91e5e0fc2c2b47a7ce7499c46fb57ec.zip |
mod_s2s, s2sout.lib: import cert verify and add another fallback method in case socket.local_addresses isn't there.
Diffstat (limited to 'plugins/s2s/mod_s2s.lua')
-rw-r--r-- | plugins/s2s/mod_s2s.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/s2s/mod_s2s.lua b/plugins/s2s/mod_s2s.lua index 0de821b2..88e8cded 100644 --- a/plugins/s2s/mod_s2s.lua +++ b/plugins/s2s/mod_s2s.lua @@ -20,6 +20,7 @@ local s2s_new_incoming = require "core.s2smanager".new_incoming; local s2s_new_outgoing = require "core.s2smanager".new_outgoing; local s2s_destroy_session = require "core.s2smanager".destroy_session; local uuid_gen = require "util.uuid".generate; +local cert_verify_identity = require "util.x509".verify_identity; local s2sout = module:require("s2sout"); |