diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-05-10 17:14:03 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-05-10 17:14:03 +0700 |
commit | ba90e9a89d92981916e6c34307d4cc08f8063ea8 (patch) | |
tree | 8feb7276ca69578ac82d218b92cc0fa00ab09e09 /crypto/test | |
parent | Merge branch 'patch-1' of https://github.com/deniszykov/bc-csharp into denisz... (diff) | |
download | BouncyCastle.NET-ed25519-ba90e9a89d92981916e6c34307d4cc08f8063ea8.tar.xz |
Cleanup around OfferInput methods
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/crypto/tls/test/TlsProtocolNonBlockingTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/crypto/tls/test/TlsProtocolNonBlockingTest.cs b/crypto/test/src/crypto/tls/test/TlsProtocolNonBlockingTest.cs index 68f2341ee..219a65af7 100644 --- a/crypto/test/src/crypto/tls/test/TlsProtocolNonBlockingTest.cs +++ b/crypto/test/src/crypto/tls/test/TlsProtocolNonBlockingTest.cs @@ -79,9 +79,9 @@ namespace Org.BouncyCastle.Crypto.Tls.Tests if (fragment) { + byte[] buffer = new byte[1]; while (from.GetAvailableOutputBytes() > 0) { - byte[] buffer = new byte[1]; from.ReadOutput(buffer, 0, 1); to.OfferInput(buffer); } |