projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core.certmanager: Remove non-string filenames (allows setting eg capath to false...
[prosody.git]
/
core
/
certmanager.lua
diff --git
a/core/certmanager.lua
b/core/certmanager.lua
index 958ad3a3b78b5920f1b0c43b873e87672633f7a8..05f0f809d93dd1e69f313a4010f2ae9c5cb51d47 100644
(file)
--- 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