diff options
Diffstat (limited to 'src/main/java/org/bouncycastle/crypto/tls/DTLSReplayWindow.java')
-rw-r--r-- | src/main/java/org/bouncycastle/crypto/tls/DTLSReplayWindow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bouncycastle/crypto/tls/DTLSReplayWindow.java b/src/main/java/org/bouncycastle/crypto/tls/DTLSReplayWindow.java index 98e050ce..05ccea5e 100644 --- a/src/main/java/org/bouncycastle/crypto/tls/DTLSReplayWindow.java +++ b/src/main/java/org/bouncycastle/crypto/tls/DTLSReplayWindow.java @@ -73,7 +73,7 @@ class DTLSReplayWindow }
else
{
- bitmap <<= diff;
+ bitmap <<= (int)diff; // for earlier JDKs
bitmap |= 1;
}
latestConfirmedSeq = seq;
|