]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Correctly count NSEC3s considered when chasing the closest encloser 13995/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 26 Mar 2024 13:44:15 +0000 (14:44 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 27 Mar 2024 12:27:32 +0000 (13:27 +0100)
commitfc3fafa237b7c7d55c1559ade509ae843c0eec5a
tree42a822dd56baa91061eb9c6a20f81671697dfc5d
parent1a8fd04ccabbbcba3100f47587ffee8bdb68d03a
rec: Correctly count NSEC3s considered when chasing the closest encloser

We need to count the number of NSEC3s that are present in the response,
not the number of times we have to consider possible NSEC3s when
looking for the NSEC3 closest encloser, label by label.

(cherry picked from commit c4f4d09654bde9d389e83f0bc8eadc6b665e9de9)
pdns/recursordist/test-syncres_cc8.cc
pdns/validate.cc