]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add hashmap to qpz_heap
authorAlessio Podda <alessio@isc.org>
Thu, 18 Dec 2025 00:37:53 +0000 (01:37 +0100)
committerAlessio Podda <alessio@isc.org>
Tue, 31 Mar 2026 14:22:56 +0000 (16:22 +0200)
commit3521900ecda1544bccfc9d6926e7163ca736ddf7
treec0c525d82e32c91b8fa2d875d805c5fa62718a5e
parent1aa0768151d1fcf8416f7b9029c4dacea90bafb5
Add hashmap to qpz_heap

This commit adds a level of indirection to the signing operations.
Instead of being intrusive, the qpz_heap will keep track of which
headers must be resigned through a hashmap.
The intent is to make dns_vecheader_t entirely self-contained. In
particular, the ownership structure between the heap and the headers is
flipped. Before, the headers would "own" the heap, now the heap owns
the header.
lib/dns/include/dns/rdatavec.h
lib/dns/qpzone.c
lib/dns/rdatavec.c
tests/dns/qpzone_test.c
tests/dns/vecheader_test.c