Skip to content
Snippets Groups Projects
Commit bd63e363 authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Small fix in sem checks - do not continue if no nsec3 rrset exists.

parent 7e8eb285
No related branches found
No related tags found
No related merge requests found
......@@ -623,7 +623,7 @@ static int check_nsec3_node_in_zone(knot_zone_contents_t *zone,
if (nsec3_node == NULL) {
/* Probably should not ever happen */
return ZC_ERR_NSEC3_NOT_FOUND;
return KNOT_ERROR;
}
assert(nsec3_previous);
......@@ -643,6 +643,8 @@ static int check_nsec3_node_in_zone(knot_zone_contents_t *zone,
err_handler_handle_error(handler, node,
ZC_ERR_NSEC3_UNSECURED_DELEGATION_OPT,
NULL);
/* We cannot continue from here. */
return KNOT_EOK;
}
}
}
......
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