]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Correctly count NSEC3s considered when chasing the closest encloser 13996/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:35:22 +0000 (13:35 +0100)
commit3f475eba3af99da2d0dca313380bf854ce0bb85f
treea5303c40defbbd9ad3d730ad9cd703c9cfc3e054
parenta5f01369fea37effe2a308d3ffd8fda164f93992
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