Detect duplicate RRSIGs as well.
This commit is contained in:
parent
c5896495c7
commit
444601fb2a
@ -136,7 +136,8 @@ public class ZoneVerifier
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Iterator i = rrset.rrs(); i.hasNext(); )
|
Iterator i = (rr instanceof RRSIGRecord) ? rrset.sigs() : rrset.rrs();
|
||||||
|
for ( ; i.hasNext(); )
|
||||||
{
|
{
|
||||||
Record record = (Record) i.next();
|
Record record = (Record) i.next();
|
||||||
if (rr.equals(record)) return false;
|
if (rr.equals(record)) return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user