core.certmanager: Remove non-string filenames (allows setting eg capath to false...
authorKim Alvefur <zash@zash.se>
Sun, 11 Oct 2015 17:44:15 +0000 (19:44 +0200)
committerKim Alvefur <zash@zash.se>
Sun, 11 Oct 2015 17:44:15 +0000 (19:44 +0200)
core/certmanager.lua

index 958ad3a3b78b5920f1b0c43b873e87672633f7a8..05f0f809d93dd1e69f313a4010f2ae9c5cb51d47 100644 (file)
@@ -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