diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-12-04 18:57:54 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-12-04 18:57:54 +0000 |
commit | c4c855ca4ebc7e07f75ca62fb0b63b65c5a1c851 (patch) | |
tree | 73196a4439addc292dcbc3aca9ef7d73da9ef319 | |
parent | d92cd1e697553c1a8bd3b10f9326a0af3ec51f6d (diff) | |
download | prosody-c4c855ca4ebc7e07f75ca62fb0b63b65c5a1c851.tar.gz prosody-c4c855ca4ebc7e07f75ca62fb0b63b65c5a1c851.zip |
prosody: Expose global_ssl_ctx through prosody object
-rwxr-xr-x | prosody | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -179,6 +179,7 @@ function init_global_state() if global_ssl_ctx then local default_ssl_ctx = { mode = "server", protocol = "sslv23", capath = "/etc/ssl/certs", verify = "none", options = "no_sslv2"; }; setmetatable(global_ssl_ctx, { __index = default_ssl_ctx }); + prosody.global_ssl_ctx = global_ssl_ctx; end local cl = require "net.connlisteners"; |