The future is the other direction.
// FREEBIE
This commit is contained in:
parent
c54a5b613b
commit
30aff82341
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ public class SessionCipher {
|
|||
}
|
||||
}
|
||||
|
||||
if (chainKey.getIndex() - counter > 2000) {
|
||||
if (counter - chainKey.getIndex() > 2000) {
|
||||
throw new InvalidMessageException("Over 2000 messages into the future!");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue