From: Kim Alvefur Date: Sun, 11 Oct 2015 17:44:15 +0000 (+0200) Subject: core.certmanager: Remove non-string filenames (allows setting eg capath to false... X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=912e11df55e84e974040f67846d11c61e99803e4;p=prosody.git core.certmanager: Remove non-string filenames (allows setting eg capath to false to disable the built in default) --- diff --git a/core/certmanager.lua b/core/certmanager.lua index 958ad3a3..05f0f809 100644 --- a/core/certmanager.lua +++ b/core/certmanager.lua @@ -101,6 +101,8 @@ local function create_context(host, mode, ...) for option in pairs(path_options) do if type(user_ssl_config[option]) == "string" then user_ssl_config[option] = resolve_path(config_path, user_ssl_config[option]); + else + user_ssl_config[option] = nil; end end