forked from I2P_Developers/i2p.i2p
Ratchet: Use append() for keys too
This commit is contained in:
@ -431,7 +431,7 @@ class RatchetTagSet implements TagSetHandle {
|
|||||||
// if there's any gaps, catch up and store
|
// if there's any gaps, catch up and store
|
||||||
for (int i = _lastKey + 1; i < tagnum; i++) {
|
for (int i = _lastKey + 1; i < tagnum; i++) {
|
||||||
//System.out.println("Fill in key gap at " + i);
|
//System.out.println("Fill in key gap at " + i);
|
||||||
_sessionKeys.put(i, consumeNextKey().getData());
|
_sessionKeys.append(i, consumeNextKey().getData());
|
||||||
}
|
}
|
||||||
SessionKeyAndNonce rv = consumeNextKey();
|
SessionKeyAndNonce rv = consumeNextKey();
|
||||||
addTags(tagnum);
|
addTags(tagnum);
|
||||||
|
Reference in New Issue
Block a user