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_key_rr2ds() available for CDNSKEY RR #247

Closed tgreenx closed 2 months ago

tgreenx commented 2 months ago

Hi, similar to #246, this PR proposes to extend ldns_key_rr2ds() to support the CDNSKEY resource record.

Depends (based) on #246. You can exclude commit aeaf02e754e25c0d0cba43c9fe67f38d29b0f5c2 for easier reviewing of this PR.

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.

wtoorop commented 2 months ago

Perfect. Thanks @tgreenx