NLnetLabs / ldns

LDNS is a DNS library that facilitates DNS tool programming
https://nlnetlabs.nl/ldns
BSD 3-Clause "New" or "Revised" License
301 stars 99 forks source link

Make ldns_rr_compare_{ds,ds_dnskey}() available for CDS and CDNSKEY RRs #248

Closed tgreenx closed 2 months ago

tgreenx commented 2 months ago

Hi, similar to #246 and #247, this PR proposes to extend ldns_rr_compare_ds() and ldns_rr_compare_ds_dnskey() to support the CDS and CDNSKEY resource records.

Depends (based) on https://github.com/NLnetLabs/ldns/pull/247.

PS: I couldn't find any unitary test for this method in the test directory, so this PR is untested at the moment. Please feel free to provide additional changes in that regard.