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:
David Blacka 2005-11-07 05:20:00 +00:00
parent fbe70583ba
commit 528bc6193a
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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;