Fix bug when finding handshake mode keys

This commit is contained in:
ameba23
2021-09-28 14:45:01 +02:00
parent 667f8db4f0
commit 275c7d261f

View File

@@ -474,7 +474,7 @@ class TransportKeyManagerImpl implements TransportKeyManager {
for (MutableTransportKeySet keySet : this.keys.values()) {
MutableTransportKeys keys = keySet.getKeys();
if (keys.isHandshakeMode()) continue;
if (!keys.isHandshakeMode()) continue;
LOG.info("Found handshake mode keys");
MutableOutgoingKeys outKeys = keys.getCurrentOutgoingKeys();
// if (!outKeys.isActive()) throw new AssertionError();