I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit c99adeeb authored by zzz's avatar zzz
Browse files

Ratchet: Use append() for keys too

parent b979a979
No related branches found
No related tags found
No related merge requests found
...@@ -431,7 +431,7 @@ class RatchetTagSet implements TagSetHandle { ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment