Commit bed25f9f authored by Grigorii Demidov's avatar Grigorii Demidov
Browse files

lib/dnssec: nsec3.c, wrong prepend_asterisk() usage was fixed

parent c8de40c0
......@@ -639,7 +639,7 @@ static int matches_closest_encloser_wildcard(const knot_pkt_t *pkt, knot_section
uint8_t wildcard[KNOT_DNAME_MAXLEN];
int ret = prepend_asterisk(wildcard, sizeof(wildcard), encloser);
if (ret != 0) {
if (ret < 3) {
return ret;
Supports Markdown
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