summary refs log tree commit diff
path: root/crypto/src/tls
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-09-02 16:01:46 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-09-02 16:01:46 +0700
commit0eb75e3c71890e27256b839b58103a8e6cd42e7f (patch)
tree784c753773f01b01643b9cfc630fb6d16c106edc /crypto/src/tls
parentFIx return value for empty read (diff)
downloadBouncyCastle.NET-ed25519-0eb75e3c71890e27256b839b58103a8e6cd42e7f.tar.xz
NullOutputStream => Stream.Null
Diffstat (limited to 'crypto/src/tls')
-rw-r--r--crypto/src/tls/DtlsServerProtocol.cs2
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);
         }