Commit c73c9ac6 authored by Libor Peltan's avatar Libor Peltan Committed by Daniel Salzman
Browse files

onlinesign: fixed publishing only that DNSKEYs which should be

parent 78eab3c5
Pipeline #32744 passed with stages
in 8 minutes and 12 seconds
......@@ -404,6 +404,10 @@ static knot_rrset_t *synth_dnskey(knotd_qdata_t *qdata, const zone_keyset_t *key
dnssec_binary_t rdata = { 0 };
for (size_t i = 0; i < keyset->count; i++) {
if (!keyset->keys[i].is_public) {
continue;
}
dnssec_key_get_rdata(keyset->keys[i].key, &rdata);
assert(rdata.size > 0 && rdata.data);
......
Markdown is supported
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