Skip to content

Commit

Permalink
Update unitary tests of DNSSEC03, and add unit test data
Browse files Browse the repository at this point in the history
  • Loading branch information
tgreenx committed Nov 20, 2023
1 parent be1bde5 commit c9c3f60
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/Zonemaster/Engine/Test/DNSSEC.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2032,7 +2032,7 @@ sub dnssec03 {
push @{ $nsec3_iterations{$rr->iterations} }, $ns if defined $rr->iterations;

if ( defined $rr->salt ) {
push @{ $nsec3_salt_length{$rr->salt} }, $ns;
push @{ $nsec3_salt_length{length unpack('H*', $rr->salt)} }, $ns;
}
else {
push @{ $nsec3_salt_length{0} }, $ns;
Expand Down
Loading

0 comments on commit c9c3f60

Please sign in to comment.