Skip to content
Snippets Groups Projects
Commit ee11571c authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

DNSSEC: is_nsec3_enabled() check for nonzero algorithm, not salt length

refs #4
parent 2b9c50ca
No related branches found
No related tags found
No related merge requests found
......@@ -827,7 +827,7 @@ bool is_nsec3_enabled(const knot_zone_contents_t *zone)
return false;
}
return zone->nsec3_params.salt_length > 0;
return zone->nsec3_params.algorithm != 0;
}
/* - helper functions ------------------------------------------------------ */
......
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