]> git.ipfire.org Git - thirdparty/pdns.git/commit
Use three-way-comparisons to improve isCoveredByNSEC* logic.
authorMiod Vallat <miod.vallat@powerdns.com>
Thu, 26 Jun 2025 08:07:44 +0000 (10:07 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Thu, 26 Jun 2025 08:07:44 +0000 (10:07 +0200)
commit615ea9edb58ab94a2664371776cd77b58b84da5e
tree5ad8a27b0fd8f7befe58e8fdc6877a98689976f7
parent5d8297a06a2e966a116d1bcc8bd2ebe7506a178f
Use three-way-comparisons to improve isCoveredByNSEC* logic.

This allows us to perform at most three comparisons instead of eight.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/validate.cc