summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2017-03-22 23:29:36 +1030
committerPeter Dettman <peter.dettman@bouncycastle.org>2017-03-22 23:29:36 +1030
commitf27949c208ef2fbfcb6484db97bffe260109fb3c (patch)
tree22d6df28359564c1a0d831af26def5b64eb8e00e /crypto/test
parentNon-blocking TLS validates header of partially-received records (diff)
downloadBouncyCastle.NET-ed25519-f27949c208ef2fbfcb6484db97bffe260109fb3c.tar.xz
Add TlsProtocol.CloseInput for use in non-blocking mode
- tighten up handling of closure during handshake
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/crypto/tls/test/TlsProtocolNonBlockingTest.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/test/src/crypto/tls/test/TlsProtocolNonBlockingTest.cs b/crypto/test/src/crypto/tls/test/TlsProtocolNonBlockingTest.cs
index 477e287f1..68f2341ee 100644
--- a/crypto/test/src/crypto/tls/test/TlsProtocolNonBlockingTest.cs
+++ b/crypto/test/src/crypto/tls/test/TlsProtocolNonBlockingTest.cs
@@ -52,6 +52,7 @@ namespace Org.BouncyCastle.Crypto.Tls.Tests
             // close the connection
             clientProtocol.Close();
             PumpData(clientProtocol, serverProtocol, fragment);
+            serverProtocol.CloseInput();
             CheckClosed(serverProtocol);
             CheckClosed(clientProtocol);
         }