util.sslconfig: Remvoe flag merging for 'verify' as this is more of a tri-state field than a set of options
--- a/plugins/mod_http.lua Wed Jan 25 11:18:00 2017 +0100
+++ b/plugins/mod_http.lua Thu Jan 26 14:18:30 2017 +0100
@@ -162,11 +162,7 @@
default_port = 5281;
encryption = "ssl";
ssl_config = {
- verify = {
- peer = false,
- client_once = false,
- "none",
- }
+ verify = "none";
};
multiplex = {
pattern = "^[A-Z]";
--- a/util/sslconfig.lua Wed Jan 25 11:18:00 2017 +0100
+++ b/util/sslconfig.lua Thu Jan 26 14:18:30 2017 +0100
@@ -36,7 +36,6 @@
config[field] = options;
end
-handlers.verify = handlers.options;
handlers.verifyext = handlers.options;
-- finalisers take something produced by handlers and return what luasec
@@ -53,7 +52,6 @@
return output;
end
-finalisers.verify = finalisers.options;
finalisers.verifyext = finalisers.options;
-- We allow ciphers to be a list