Diff

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
line wrap: on
line diff
--- a/core/certmanager.lua	Sun Oct 11 14:03:53 2015 +0200
+++ b/core/certmanager.lua	Sun Oct 11 19:44:15 2015 +0200
@@ -101,6 +101,8 @@
 	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