Skip to content
Snippets Groups Projects
Commit b8fc04e0 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

zone-nsec: wrong assumption about nsec3 enabled

Before signing a zone for a first time, NSEC3 tree weight is 0.
parent 847a0875
No related branches found
No related tags found
No related merge requests found
......@@ -80,8 +80,7 @@ bool knot_is_nsec3_enabled(const knot_zone_contents_t *zone)
return false;
}
return zone->nsec3_params.algorithm != 0 &&
knot_zone_tree_weight(zone->nsec3_nodes) > 0;
return zone->nsec3_params.algorithm != 0;
}
/*!
......
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