diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-09 18:48:28 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-09 18:48:28 +0100 |
commit | c1d13724baae419c8b3c7df47e0f93c4e71ca5d8 (patch) | |
tree | 691b3d9e90d51405ad4572a5a6247de9d710dc1c /prosody | |
parent | ce51ad8d0741391ea8587e24c5f5d60f9be6a20f (diff) | |
download | prosody-c1d13724baae419c8b3c7df47e0f93c4e71ca5d8.tar.gz prosody-c1d13724baae419c8b3c7df47e0f93c4e71ca5d8.zip |
prosody: Don't look to use SSL when LuaSec not available (thanks Florob)
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ end); eventmanager.fire_event("server-starting"); -local global_ssl_ctx = config.get("*", "core", "ssl"); +local global_ssl_ctx = ssl and config.get("*", "core", "ssl"); if global_ssl_ctx then local default_ssl_ctx = { mode = "server", protocol = "sslv23", capath = "/etc/ssl/certs", verify = "none"; }; setmetatable(global_ssl_ctx, { __index = default_ssl_ctx }); |