Skip to content
Snippets Groups Projects
Commit 481644e1 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

load NSEC3 params before updating the NSEC3 chain

parent 78fac5a4
No related branches found
No related tags found
1 merge request!64DNSSEC review
......@@ -713,6 +713,16 @@ knot_zone_t *knot_zload_load(zloader_t *loader)
return NULL;
}
ret = knot_zone_contents_load_nsec3param(c->current_zone);
if (ret != KNOT_EOK) {
log_zone_error("Failed to load NSEC3 params: %s\n",
knot_strerror(ret));
rrset_list_delete(&c->node_rrsigs);
knot_zone_t *zone_to_free = c->current_zone->zone;
knot_zone_deep_free(&zone_to_free);
return NULL;
}
ret = knot_zone_connect_nsec_nodes(c->current_zone);
if (ret != KNOT_EOK) {
log_zone_error("Failed to connect regular and NSEC3 nodes: %s\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment