* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: zone.c,v 1.649 2011/12/01 15:58:46 smann Exp $ */
+/* $Id: zone.c,v 1.650 2011/12/07 22:48:22 marka Exp $ */
/*! \file */
CHECK(dns_db_newversion(db, &ver));
CHECK(dns_db_getoriginnode(db, &node));
+ TIME_NOW(&timenow);
+ now = isc_time_seconds(&timenow);
+
dns_zone_log(zone, ISC_LOG_INFO, "reconfiguring zone keys");
/* Get the SOA record's TTL */
dns_db_closeversion(db, &ver, commit);
if (commit) {
- isc_time_t timenow;
dns_difftuple_t *tuple;
LOCK_ZONE(zone);
zone_needdump(zone, DNS_DUMP_DELAY);
- TIME_NOW(&timenow);
zone_settimer(zone, &timenow);
/* Remove any signatures from removed keys. */
UNLOCK_ZONE(zone);
}
- /*
- * If we are doing automatic key maintenance and the key metadata
- * indicates there is a key change event scheduled in the future,
- * set the key refresh timer.
- */
- isc_stdtime_get(&now);
- TIME_NOW(&timenow);
isc_time_settoepoch(&zone->refreshkeytime);
/*