]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Correctly count NSEC3s considered when chasing the closest encloser 13992/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 11:39:26 +0000 (12:39 +0100)
commit37bc7a20b50cafe1ccbe2df7e392d3b07edda4cb
tree667775967bfc68e1dc6347bc50e316f4098a537c
parent6854d98bc16eb5696b4eea750b6ac6cfd18287fd
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