mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 06:09:55 +01:00
Fix bug when finding handshake mode keys
This commit is contained in:
@@ -474,7 +474,7 @@ class TransportKeyManagerImpl implements TransportKeyManager {
|
|||||||
|
|
||||||
for (MutableTransportKeySet keySet : this.keys.values()) {
|
for (MutableTransportKeySet keySet : this.keys.values()) {
|
||||||
MutableTransportKeys keys = keySet.getKeys();
|
MutableTransportKeys keys = keySet.getKeys();
|
||||||
if (keys.isHandshakeMode()) continue;
|
if (!keys.isHandshakeMode()) continue;
|
||||||
LOG.info("Found handshake mode keys");
|
LOG.info("Found handshake mode keys");
|
||||||
MutableOutgoingKeys outKeys = keys.getCurrentOutgoingKeys();
|
MutableOutgoingKeys outKeys = keys.getCurrentOutgoingKeys();
|
||||||
// if (!outKeys.isActive()) throw new AssertionError();
|
// if (!outKeys.isActive()) throw new AssertionError();
|
||||||
|
|||||||
Reference in New Issue
Block a user