The future is the other direction.

// FREEBIE
pull/1/head
Moxie Marlinspike 11 years ago
parent c54a5b613b
commit 30aff82341

@ -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…
Cancel
Save