6664612: debug output leaked
Reviewed-by: valeriep
This commit is contained in:
parent
0c6743a970
commit
be421c50f1
@ -215,7 +215,9 @@ public class CCacheInputStream extends KrbDataInputStream implements FileCCacheC
|
||||
addrType = read(2);
|
||||
addrLength = read(4);
|
||||
if (!(addrLength == 4 || addrLength == 16)) {
|
||||
System.out.println("Incorrect address format.");
|
||||
if (DEBUG) {
|
||||
System.out.println("Incorrect address format.");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
byte[] result = new byte[addrLength];
|
||||
|
@ -440,7 +440,9 @@ public class AesDkCrypto extends DkCrypto {
|
||||
for (int i = 0; i < hashSize; i++) {
|
||||
if (calculatedHmac[i] != ciphertext[hmacOffset+i]) {
|
||||
cksumFailed = true;
|
||||
System.err.println("Checksum failed !");
|
||||
if (debug) {
|
||||
System.err.println("Checksum failed !");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -397,7 +397,9 @@ public class ArcFourCrypto extends DkCrypto {
|
||||
for (int i = 0; i < hashSize; i++) {
|
||||
if (calculatedHmac[i] != ciphertext[i]) {
|
||||
cksumFailed = true;
|
||||
System.err.println("Checksum failed !");
|
||||
if (debug) {
|
||||
System.err.println("Checksum failed !");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user