]> git.ipfire.org Git - thirdparty/bind9.git/commit
Don't iterate from start every time we select new signing key
authorOndřej Surý <ondrej@isc.org>
Thu, 11 Jan 2024 12:34:46 +0000 (13:34 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 1 Feb 2024 20:51:07 +0000 (21:51 +0100)
commit3d206e918b3efbc20074629ad9d99095fbd2e5fd
tree1cc907d28b9485cffdb26d1a87dd3378abdf2ef0
parent6a65a425283d70da86bf732449acd6d7c8dec718
Don't iterate from start every time we select new signing key

Remember the position in the iterator when selecting the next signing
key.  This should speed up processing for larger DNSKEY RRSets because
we don't have to iterate from start over and over again.

(cherry picked from commit 21af5c9a97ed73345799dd4dfec493cc6785e40b)
lib/dns/validator.c