new dnsjava w/bugfix; fix ordering problem with ProtoNSEC3s
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@41 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
This commit is contained in:
parent
fbe70583ba
commit
528bc6193a
Binary file not shown.
@ -197,7 +197,7 @@ public class ProtoNSEC3
|
||||
int len = owner.length < o_owner.length ? o_owner.length : owner.length;
|
||||
for (int i = 0; i < len; i++)
|
||||
{
|
||||
int d = (owner[i] - o_owner[i]);
|
||||
int d = ((owner[i] & 0xFF) - (o_owner[i] & 0xFF));
|
||||
if (d != 0) return d;
|
||||
}
|
||||
return owner.length - o_owner.length;
|
||||
|
Loading…
Reference in New Issue
Block a user