aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-03-23 02:33:15 +0100
committerKim Alvefur <zash@zash.se>2013-03-23 02:33:15 +0100
commit75e786c1f0ca40d9244324f30d9ef662e7e24974 (patch)
treeecc07df37df1db9a79a86f936ed683a9654861f4 /core/certmanager.lua
parent0019ee9380c3129056cd4521018a888b69068ca0 (diff)
downloadprosody-75e786c1f0ca40d9244324f30d9ef662e7e24974.tar.gz
prosody-75e786c1f0ca40d9244324f30d9ef662e7e24974.zip
core.*: Complete removal of all traces of the "core" section and section-related code.
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r--core/certmanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 8607e618..b91f7110 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -27,7 +27,7 @@ end
module "certmanager"
-- Global SSL options if not overridden per-host
-local default_ssl_config = configmanager.get("*", "core", "ssl");
+local default_ssl_config = configmanager.get("*", "ssl");
local default_capath = "/etc/ssl/certs";
local default_verify = (ssl and ssl.x509 and { "peer", "client_once", }) or "none";
local default_options = { "no_sslv2", luasec_has_noticket and "no_ticket" or nil };
@@ -100,7 +100,7 @@ function create_context(host, mode, user_ssl_config)
end
function reload_ssl_config()
- default_ssl_config = configmanager.get("*", "core", "ssl");
+ default_ssl_config = configmanager.get("*", "ssl");
end
prosody.events.add_handler("config-reloaded", reload_ssl_config);