Comparison

plugins/mod_tls.lua @ 6918:de35feccc78e

mod_tls: Remove unused reference to global ssl config option (certmanager adds that to the context)
author Kim Alvefur <zash@zash.se>
date Mon, 09 Nov 2015 13:39:23 +0100
parent 6832:9566a15d3e59
child 6919:ab6c57633ce5
comparison
equal deleted inserted replaced
6917:65344c3bae7a 6918:de35feccc78e
38 do 38 do
39 local NULL, err = {}; 39 local NULL, err = {};
40 local modhost = module.host; 40 local modhost = module.host;
41 local parent = modhost:match("%.(.*)$"); 41 local parent = modhost:match("%.(.*)$");
42 42
43 local global_ssl = rawgetopt("*", "ssl") or NULL;
44 local parent_ssl = rawgetopt(parent, "ssl") or NULL; 43 local parent_ssl = rawgetopt(parent, "ssl") or NULL;
45 local host_ssl = rawgetopt(modhost, "ssl") or parent_ssl; 44 local host_ssl = rawgetopt(modhost, "ssl") or parent_ssl;
46 45
47 local global_c2s = rawgetopt("*", "c2s_ssl") or NULL; 46 local global_c2s = rawgetopt("*", "c2s_ssl") or NULL;
48 local parent_c2s = rawgetopt(parent, "c2s_ssl") or NULL; 47 local parent_c2s = rawgetopt(parent, "c2s_ssl") or NULL;