From 14d22d84e49f1bb660c2b1e7a35f4b6e4a7a3718 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 11 Oct 2015 19:44:15 +0200 Subject: core.certmanager: Remove non-string filenames (allows setting eg capath to false to disable the built in default) --- core/certmanager.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/certmanager.lua') 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 -- cgit v1.2.3