Log keys in hex on handshake

This commit is contained in:
ameba23
2021-09-29 10:15:41 +02:00
parent 275c7d261f
commit 274722d695

View File

@@ -486,9 +486,9 @@ class TransportKeyManagerImpl implements TransportKeyManager {
outKeys.getTagKey(), outKeys.getHeaderKey(),
outKeys.getStreamCounter(), keys.isHandshakeMode());
LOG.info("Tag key: " +
outKeys.getTagKey().getBytes().toString());
StringUtils.toHexString(outKeys.getTagKey().getBytes()));
LOG.info("Header key: " +
outKeys.getHeaderKey().getBytes().toString());
StringUtils.toHexString(outKeys.getHeaderKey().getBytes()));
// Increment the stream counter and write it back to the DB
outKeys.incrementStreamCounter();
db.incrementStreamCounter(txn, transportId,