diff options
Diffstat (limited to 'src/main/java/org/bouncycastle/crypto/tls/DTLSReassembler.java')
-rw-r--r-- | src/main/java/org/bouncycastle/crypto/tls/DTLSReassembler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bouncycastle/crypto/tls/DTLSReassembler.java b/src/main/java/org/bouncycastle/crypto/tls/DTLSReassembler.java index 99111b2c..93d1038a 100644 --- a/src/main/java/org/bouncycastle/crypto/tls/DTLSReassembler.java +++ b/src/main/java/org/bouncycastle/crypto/tls/DTLSReassembler.java @@ -54,7 +54,7 @@ class DTLSReassembler for (int i = 0; i < missing.size(); ++i)
{
- Range range = (Range)missing.get(i);
+ Range range = (Range)missing.elementAt(i);
if (range.getStart() >= fragment_end)
{
break;
@@ -98,7 +98,7 @@ class DTLSReassembler void reset()
{
- this.missing.clear();
+ this.missing.removeAllElements();
this.missing.addElement(new Range(0, body.length));
}
|