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
5d1611afdc61ea8f19ceecc3e88cdb2296ec3914)
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);