Software /
code /
prosody
Comparison
core/certmanager.lua @ 6903:5ff42d85d4d5
core.certmanager: Remove non-string filenames (allows setting eg capath to false to disable the built in default)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 11 Oct 2015 19:44:15 +0200 |
parent | 6779:6236668da30a |
child | 7122:89c51ee23122 |
comparison
equal
deleted
inserted
replaced
6901:ccc452767ec6 | 6903:5ff42d85d4d5 |
---|---|
99 end | 99 end |
100 | 100 |
101 for option in pairs(path_options) do | 101 for option in pairs(path_options) do |
102 if type(user_ssl_config[option]) == "string" then | 102 if type(user_ssl_config[option]) == "string" then |
103 user_ssl_config[option] = resolve_path(config_path, user_ssl_config[option]); | 103 user_ssl_config[option] = resolve_path(config_path, user_ssl_config[option]); |
104 else | |
105 user_ssl_config[option] = nil; | |
104 end | 106 end |
105 end | 107 end |
106 | 108 |
107 -- LuaSec expects dhparam to be a callback that takes two arguments. | 109 -- LuaSec expects dhparam to be a callback that takes two arguments. |
108 -- We ignore those because it is mostly used for having a separate | 110 -- We ignore those because it is mostly used for having a separate |