Skip to content

Commit

Permalink
Merge pull request #207 from pshipton/revertdebug
Browse files Browse the repository at this point in the history
(0.38) Revert "Add additional debug message to show contents of authentication reply message"
  • Loading branch information
keithc-ca authored May 3, 2023
2 parents 0bb0db6 + 89d7ed0 commit 9d7a231
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,23 +136,6 @@ protected void init(DerValue encoding, int req_type)
"encoding tag is " +
encoding.getTag() +
" req type is " + req_type);

System.out.println(">>> KDCRep: Message in bytes is =>");
byte[] dataBytes = encoding.getDataBytes();
StringBuilder sb = new StringBuilder();
for (int i = 0; i < dataBytes.length; i++) {
if ((i % 16) == 0) {
sb.append(String.format("%06X", i));
}
sb.append(String.format(" %02X", dataBytes[i] & 0xFF));
if ((i % 16) == 15) {
System.out.println(sb.toString());
sb.setLength(0);
}
}
if (sb.length() > 0) {
System.out.println(sb.toString());
}
}
throw new Asn1Exception(Krb5.ASN1_BAD_ID);
}
Expand Down

0 comments on commit 9d7a231

Please sign in to comment.