aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody1
1 files changed, 1 insertions, 0 deletions
diff --git a/prosody b/prosody
index 1805e5b2..e4d0c719 100755
--- a/prosody
+++ b/prosody
@@ -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";