comparison mod_s2s_auth_dane/mod_s2s_auth_dane.lua @ 1392:d99c10fc4d19

mod_s2s_auth_dane: Clean up no longer needed DNS replies
author Kim Alvefur <zash@zash.se>
date Thu, 24 Apr 2014 18:34:10 +0200
parents b183e78aee91
children 50f986deb3f7
comparison
equal deleted inserted replaced
1391:b183e78aee91 1392:d99c10fc4d19
135 text = "Encrypted server-to-server communication is required but was not " 135 text = "Encrypted server-to-server communication is required but was not "
136 ..((session.direction == "outgoing" and "offered") or "used") 136 ..((session.direction == "outgoing" and "offered") or "used")
137 }); 137 });
138 return false; 138 return false;
139 end 139 end
140 -- Cleanup
141 session.dane = nil;
142 session.srv_hosts = nil;
140 end); 143 end);
141 end 144 end
142 145
143 local function one_dane_check(tlsa, cert) 146 local function one_dane_check(tlsa, cert)
144 local select, match, certdata = tlsa.select, tlsa.match; 147 local select, match, certdata = tlsa.select, tlsa.match;