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

DNSSEC: sort created DNSKEY RRSet before insertion to changeset

Refs #254
parent d6438a3d
No related branches found
No related tags found
No related merge requests found
......@@ -798,6 +798,10 @@ static int add_missing_dnskeys(const knot_rrset_t *soa,
}
if (to_add != NULL && result == KNOT_EOK) {
result = knot_rrset_sort_rdata(to_add);
if (result != KNOT_EOK) {
return result;
}
result = knot_changeset_add_rrset(changeset, to_add,
KNOT_CHANGESET_ADD);
}
......
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