aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-10-11 19:44:15 +0200
committerKim Alvefur <zash@zash.se>2015-10-11 19:44:15 +0200
commit14d22d84e49f1bb660c2b1e7a35f4b6e4a7a3718 (patch)
tree57a63588e32618de93f4c34bdda77b6ca317893d
parent617cacab71dfebcb4b41bc9c0a5f5492c4385f1c (diff)
downloadprosody-14d22d84e49f1bb660c2b1e7a35f4b6e4a7a3718.tar.gz
prosody-14d22d84e49f1bb660c2b1e7a35f4b6e4a7a3718.zip
core.certmanager: Remove non-string filenames (allows setting eg capath to false to disable the built in default)
-rw-r--r--core/certmanager.lua2
1 files changed, 2 insertions, 0 deletions
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