diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-09-02 16:01:46 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-09-02 16:01:46 +0700 |
commit | 0eb75e3c71890e27256b839b58103a8e6cd42e7f (patch) | |
tree | 784c753773f01b01643b9cfc630fb6d16c106edc /crypto/src/tls | |
parent | FIx return value for empty read (diff) | |
download | BouncyCastle.NET-ed25519-0eb75e3c71890e27256b839b58103a8e6cd42e7f.tar.xz |
NullOutputStream => Stream.Null
Diffstat (limited to 'crypto/src/tls')
-rw-r--r-- | crypto/src/tls/DtlsServerProtocol.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tls/DtlsServerProtocol.cs b/crypto/src/tls/DtlsServerProtocol.cs index 51e013290..e4ce4d6be 100644 --- a/crypto/src/tls/DtlsServerProtocol.cs +++ b/crypto/src/tls/DtlsServerProtocol.cs @@ -667,7 +667,7 @@ namespace Org.BouncyCastle.Tls protected virtual void ProcessClientHello(ServerHandshakeState state, byte[] body) { MemoryStream buf = new MemoryStream(body, false); - ClientHello clientHello = ClientHello.Parse(buf, new NullOutputStream()); + ClientHello clientHello = ClientHello.Parse(buf, Stream.Null); ProcessClientHello(state, clientHello); } |