diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-28 20:49:58 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-28 20:49:58 +0700 |
commit | dc5029c8650432ae04df78d2ead06a8349176b74 (patch) | |
tree | 306f232f9cf53762ccb427225dee958313b884fd /crypto/src/tls/DtlsReassembler.cs | |
parent | Generics migration in Ocsp, OpenPgp (diff) | |
download | BouncyCastle.NET-ed25519-dc5029c8650432ae04df78d2ead06a8349176b74.tar.xz |
Generics migration in Tls
Diffstat (limited to 'crypto/src/tls/DtlsReassembler.cs')
-rw-r--r-- | crypto/src/tls/DtlsReassembler.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/src/tls/DtlsReassembler.cs b/crypto/src/tls/DtlsReassembler.cs index 964c8eb84..f53295eb1 100644 --- a/crypto/src/tls/DtlsReassembler.cs +++ b/crypto/src/tls/DtlsReassembler.cs @@ -1,7 +1,5 @@ using System; -using System.Collections; - -using Org.BouncyCastle.Utilities; +using System.Collections.Generic; namespace Org.BouncyCastle.Tls { @@ -10,7 +8,7 @@ namespace Org.BouncyCastle.Tls private readonly short m_msg_type; private readonly byte[] m_body; - private readonly IList m_missing = Platform.CreateArrayList(); + private readonly List<Range> m_missing = new List<Range>(); internal DtlsReassembler(short msg_type, int length) { |