IntroduceeProtocolEngine uses wrong role when adding keys.

This commit is contained in:
akwizgran
2018-04-28 23:01:04 +01:00
parent d7492df81c
commit 68132d893b
3 changed files with 12 additions and 3 deletions

View File

@@ -457,7 +457,7 @@ class IntroduceeProtocolEngine
//noinspection ConstantConditions
keys = keyManager
.addUnboundKeys(txn, new SecretKey(s.getMasterKey()),
timestamp, s.getRemote().alice);
timestamp, s.getLocal().alice);
keyManager.bindKeys(txn, c.getId(), keys);
// add signed transport properties for the contact