2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Recompute check_ksk as it may have changed

This commit is contained in:
Mark Andrews
2009-10-08 23:55:57 +00:00
parent 15bbb8a129
commit 0838b3c02f

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.511 2009/10/08 23:48:10 tbox Exp $ */
/* $Id: zone.c,v 1.512 2009/10/08 23:55:57 marka Exp $ */
/*! \file */
@@ -6515,6 +6515,13 @@ zone_sign(dns_zone_t *zone) {
first = ISC_TRUE;
}
/*
* Recompute check_ksk as it may have changed.
*/
check_ksk = DNS_ZONE_OPTION(zone, DNS_ZONEOPT_UPDATECHECKKSK);
if (check_ksk)
check_ksk = ksk_sanity(db, version);
if (secureupdated) {
/*
* We have changed the NSEC RRset above so we need to update