mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 08:05:21 +00:00
[master] fix out-of-order synchronization that affected the dnssec test
This commit is contained in:
@@ -6049,11 +6049,11 @@ add_keydata_zone(dns_view_t *view, const char *directory, isc_mem_t *mctx) {
|
||||
|
||||
if (pview != NULL) {
|
||||
if (pview->managed_keys != NULL) {
|
||||
dns_zone_synckeyzone(pview->managed_keys);
|
||||
dns_zone_attach(pview->managed_keys,
|
||||
&view->managed_keys);
|
||||
dns_zone_setview(pview->managed_keys, view);
|
||||
dns_view_detach(&pview);
|
||||
dns_zone_synckeyzone(view->managed_keys);
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user