aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r--core/certmanager.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 55059b3f..dfda3fd8 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -21,9 +21,9 @@ local default_ssl_config = configmanager.get("*", "core", "ssl");
function get_context(host, mode, config)
local ssl_config = config and config.core.ssl or default_ssl_config;
if ssl and ssl_config then
- return ssl_newcontext(setmetatable(ssl_config, mode == "client" and default_ssl_ctx_mt or default_ssl_ctx_in_mt));
- end
- return nil;
+ return ssl_newcontext(setmetatable(ssl_config, mode == "client" and default_ssl_ctx_mt or default_ssl_ctx_in_mt));
+ end
+ return nil;
end
function reload_ssl_config()