Call set_resigntime() in receive_secure_serial()

With RRSIG records no longer being signed with the full
sig-validity-interval we need to ensure the zone->resigntime
as it may need to be set to a earlier time.

(cherry picked from commit 5d1611afdc)
This commit is contained in:
Mark Andrews
2020-03-03 16:16:38 +11:00
parent 3df6760518
commit bfef5ce9bc
+5
View File
@@ -14571,6 +14571,11 @@ receive_secure_serial(isc_task_t *task, isc_event_t *event) {
zone->sourceserialset = true;
zone_needdump(zone, DNS_DUMP_DELAY);
/*
* Set resign time to make sure it is set to the earliest
* signature expiration.
*/
set_resigntime(zone);
TIME_NOW(&timenow);
zone_settimer(zone, &timenow);
UNLOCK_ZONE(zone);