Commit 38ba857a authored by Vitezslav Kriz's avatar Vitezslav Kriz Committed by Jan Včelák
Browse files

semcheck: rebase: working unittests

parent 60adbbae
......@@ -577,7 +577,6 @@ static int check_nsec3_node_in_zone(zone_contents_t *zone, zone_node_t *node,
* opt-out span */
const zone_node_t *nsec3_previous;
const zone_node_t *nsec3_node;
INFO("finding... ");
if (zone_contents_find_nsec3_for_name(zone,
node->owner,
&nsec3_node,
......@@ -1004,7 +1003,7 @@ static void cname_multiple(const zone_node_t *node, semchecks_data_t *data)
if (node_rrtype_exists(node, KNOT_RRTYPE_NSEC)) {
rrset_limit += 1;
}
if (node_rrtype_exists(node, KNOT_RRTYPE_RRSIG))) {
if (node_rrtype_exists(node, KNOT_RRTYPE_RRSIG)) {
rrset_limit += 1;
}
......
......@@ -26,6 +26,7 @@
#include "knot/zone/node.h"
#include "knot/zone/contents.h"
#include "contrib/ucw/lists.h"
enum check_levels {
SEM_CHECK_MANDATORY = 0,
......
......@@ -312,7 +312,7 @@ zone_contents_t *zonefile_load(zloader_t *loader)
err_handler_log_errors(&err_handler);
err_handler_del(&err_handler);
//err_handler_del(&err_handler);
if (ret != KNOT_EOK) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment