Skip to content

Commit 6c67dc4

Browse files
Merge pull request zonemaster#253 from MichaelTimbert/252
Update LDNS to v1.9.0
2 parents fd5bfad + 77c383a commit 6c67dc4

5 files changed

Lines changed: 3 additions & 9 deletions

File tree

ldns

Submodule ldns updated 59 files

lib/Zonemaster/LDNS/RR/CDNSKEY.pm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ A subclass of L<Zonemaster::LDNS::RR::DNSKEY>, so it has all the methods of that
1919
2020
No other specific methods implemented.
2121
22-
Note that the inherited parent methods L<Zonemaster::LDNS::RR::DNSKEY/keytag()> and L<Zonemaster::LDNS::RR::DNSKEY/ds($hash)> will always return 0, as LDNS currently only supports the DNSKEY RR type for those methods.
23-
2422
=cut

lib/Zonemaster/LDNS/RR/CDS.pm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ A subclass of L<Zonemaster::LDNS::RR::DS>, so it has all the methods of that cla
1919
2020
No other specific methods implemented.
2121
22-
Note that the inherited parent methods L<Zonemaster::LDNS::RR::DS/verify($other)> will always return false, as LDNS currently only supports the DS and DNSKEY RR types for this method.
23-
2422
=cut

lib/Zonemaster/LDNS/RRList.pm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ Pops an RR off the list.
8282
8383
Returns true or false depending on if the list is an RRset or not.
8484
85-
Note that the underlying LDNS function appears to have a bug as the comparison of the owner name field is case sensitive. See https://github.com/NLnetLabs/ldns/pull/251.
86-
8785
=item string()
8886
8987
Returns a string with the list of RRs in presentation format.

t/rr.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ subtest 'CDNSKEY' => sub {
194194
is( $rrs[0]->algorithm(), q{8} );
195195
ok( $rrs[0]->keydata() );
196196
is( $rrs[0]->hexkeydata(), q{BleFgAABAAEAAAAADW5sYWdyaWN1bHR1cmUCbmwAAAEAAcAMADAAAQAAAAAABAEBAwg=} );
197-
is( $rrs[0]->keytag(), q{0} ); # RR type not supported by LDNS
198-
is( $rrs[0]->ds('sha256'), undef ); # RR type not supported by LDNS
197+
is( $rrs[0]->keytag(), q{27018} );
198+
is( $rrs[0]->ds('sha256'), Zonemaster::LDNS::RR->new(q{cdnskey.test. 0 IN DS 27018 8 2 11144150cb6c0690613d6cca962c3939de03a41cdac0787aae59db93b0ae8530} ));
199199
is( $rrs[0]->keysize(), q{344} );
200200
};
201201

0 commit comments

Comments
 (0)