Software /
code /
prosody-modules
Comparison
mod_s2s_auth_dane/mod_s2s_auth_dane.lua @ 1390:1fcd280c226b
mod_s2s_auth_dane: Remove non-working bogus handling
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 24 Apr 2014 18:32:25 +0200 |
parent | 1389:6bd9681d54b7 |
child | 1391:b183e78aee91 |
comparison
equal
deleted
inserted
replaced
1389:6bd9681d54b7 | 1390:1fcd280c226b |
---|---|
69 for _, record in ipairs(answer) do | 69 for _, record in ipairs(answer) do |
70 t_insert(srv_hosts, record.srv); | 70 t_insert(srv_hosts, record.srv); |
71 dns_lookup(function(dane_answer) | 71 dns_lookup(function(dane_answer) |
72 n = n - 1; | 72 n = n - 1; |
73 if dane_answer.bogus then | 73 if dane_answer.bogus then |
74 t_insert(dane, { bogus = dane_answer.bogus }); | 74 -- How to handle this? |
75 elseif dane_answer.secure then | 75 elseif dane_answer.secure then |
76 for _, record in ipairs(dane_answer) do | 76 for _, record in ipairs(dane_answer) do |
77 t_insert(dane, record); | 77 t_insert(dane, record); |
78 end | 78 end |
79 end | 79 end |