summaryrefslogtreecommitdiffstats
path: root/lib/layer/validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/layer/validate.c')
-rw-r--r--lib/layer/validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/layer/validate.c b/lib/layer/validate.c
index 93f1d4fc..17f90740 100644
--- a/lib/layer/validate.c
+++ b/lib/layer/validate.c
@@ -676,7 +676,7 @@ static int rrsig_not_found(const kr_layer_t * const ctx, const knot_pkt_t * cons
}
/* Add one extra label to cur_top, i.e. descend one level below current zone cut */
const knot_dname_t * const cut_next = rr->owner +
- knot_dname_prefixlen(rr->owner, next_depth - 1, NULL);
+ kr_dname_prefixlen(rr->owner, next_depth - 1);
/* Spawn that DS sub-query. */
struct kr_query * const next = kr_rplan_push(&req->rplan, qry, cut_next,