# HG changeset patch # User Kim Alvefur # Date 1449786251 -3600 # Node ID 2f32196586bb9b3d438527320e3fd28ad087c332 # Parent 6979ee1db9f83ecc9d548246e49382e0e6779ccf mod_s2s_auth_dane: Keep DANE response around after the connection is established to aid in debugging diff -r 6979ee1db9f8 -r 2f32196586bb mod_s2s_auth_dane/mod_s2s_auth_dane.lua --- a/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Thu Dec 10 23:23:07 2015 +0100 +++ b/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Thu Dec 10 23:24:11 2015 +0100 @@ -225,7 +225,6 @@ return false; end -- Cleanup - session.dane = nil; session.srv_hosts = nil; end); end @@ -290,6 +289,7 @@ session.cert_chain_status = "valid"; end match_found = true; + dane.matching = tlsa; break; end -- DANE-TA or PKIX-CA @@ -319,6 +319,7 @@ end end match_found = true; + dane.matching = tlsa; break; end end