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

Post-merge changes.

parent a171eaa9
Branches
Tags
No related merge requests found
......@@ -752,16 +752,17 @@ static int create_nsec3_chain(const knot_zone_contents_t *zone, uint32_t ttl,
return result;
}
/* - helper functions ------------------------------------------------------ */
/*!
* Check if NSEC3 is enabled for the given zone.
*/
static bool is_nsec3_enabled(const knot_zone_contents_t *zone)
bool is_nsec3_enabled(const knot_zone_contents_t *zone)
{
if (!zone) {
return false;
}
return zone->nsec3_params.salt_length > 0;
}
/* - helper functions ------------------------------------------------------ */
/*!
* \brief Get minimum TTL from zone SOA.
* \note Value should be used for NSEC records.
......
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