The future is the other direction.

// FREEBIE
fork-5.53.8
Moxie Marlinspike 2014-11-24 11:37:28 -08:00
rodzic c54a5b613b
commit 30aff82341
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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!");
}