diff options
author | Kim Alvefur <zash@zash.se> | 2015-10-11 19:44:15 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-10-11 19:44:15 +0200 |
commit | e0c0cf5743fdbadd5220ebadd8511b76d4547c8a (patch) | |
tree | 57a63588e32618de93f4c34bdda77b6ca317893d | |
parent | 9203db9b4fdf1bee4362061642d741ef040bf181 (diff) | |
download | prosody-e0c0cf5743fdbadd5220ebadd8511b76d4547c8a.tar.gz prosody-e0c0cf5743fdbadd5220ebadd8511b76d4547c8a.zip |
core.certmanager: Remove non-string filenames (allows setting eg capath to false to disable the built in default)
-rw-r--r-- | core/certmanager.lua | 2 |
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 |