Skip to content

Commit

Permalink
Revert "Add additional debug message to show contents of authenticati…
Browse files Browse the repository at this point in the history
…on reply message"

This reverts commit 8baade2.
  • Loading branch information
pshipton committed May 3, 2023
1 parent 0bb0db6 commit 89d7ed0
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 89d7ed0

Please sign in to comment.