Fix pending contact flag. Hooray for unit tests.

This commit is contained in:
akwizgran
2019-05-30 17:37:09 +01:00
parent 430b530ca5
commit b2d2b1765a

View File

@@ -121,7 +121,7 @@ class KeyManagerImpl implements KeyManager, Service, EventListener {
SecretKey staticMasterKey = transportCrypto
.deriveStaticMasterKey(theirPublicKey, ourKeyPair);
SecretKey rootKey =
transportCrypto.deriveHandshakeRootKey(staticMasterKey, true);
transportCrypto.deriveHandshakeRootKey(staticMasterKey, false);
boolean alice = transportCrypto.isAlice(theirPublicKey, ourKeyPair);
Map<TransportId, KeySetId> ids = new HashMap<>();
for (Entry<TransportId, TransportKeyManager> e : managers.entrySet()) {