summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2021-10-04 18:50:19 +1100
committerDavid Hook <dgh@cryptoworkshop.com>2021-10-04 18:50:19 +1100
commit5c6cb583dcb17b857ab97b38933ad3a616c417f8 (patch)
treef74eedc45015037dd2f06d63fb16647482d33925 /crypto/test
parentRestore new tests (diff)
downloadBouncyCastle.NET-ed25519-5c6cb583dcb17b857ab97b38933ad3a616c417f8.tar.xz
partial #68
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/asn1/test/IssuingDistributionPointTest.cs2
-rw-r--r--crypto/test/src/asn1/test/LDSSecurityObjectUnitTest.cs2
-rw-r--r--crypto/test/src/crypto/tls/test/NetworkStream.cs6
-rw-r--r--crypto/test/src/crypto/tls/test/PipedStream.cs6
4 files changed, 8 insertions, 8 deletions
diff --git a/crypto/test/src/asn1/test/IssuingDistributionPointTest.cs b/crypto/test/src/asn1/test/IssuingDistributionPointTest.cs

index b5f5c88bb..f23edfaef 100644 --- a/crypto/test/src/asn1/test/IssuingDistributionPointTest.cs +++ b/crypto/test/src/asn1/test/IssuingDistributionPointTest.cs
@@ -116,7 +116,7 @@ namespace Org.BouncyCastle.Asn1.Tests return o1.Equals(o2); } - public static void Main( + public static void Main( string[] args) { RunTest(new IssuingDistributionPointUnitTest()); diff --git a/crypto/test/src/asn1/test/LDSSecurityObjectUnitTest.cs b/crypto/test/src/asn1/test/LDSSecurityObjectUnitTest.cs
index 914eda0b8..545399621 100644 --- a/crypto/test/src/asn1/test/LDSSecurityObjectUnitTest.cs +++ b/crypto/test/src/asn1/test/LDSSecurityObjectUnitTest.cs
@@ -192,7 +192,7 @@ namespace Org.BouncyCastle.Asn1.Tests } } - public static void Main( + public static void Main( string[] args) { RunTest(new LDSSecurityObjectUnitTest()); diff --git a/crypto/test/src/crypto/tls/test/NetworkStream.cs b/crypto/test/src/crypto/tls/test/NetworkStream.cs
index 04de81e13..c20101c8f 100644 --- a/crypto/test/src/crypto/tls/test/NetworkStream.cs +++ b/crypto/test/src/crypto/tls/test/NetworkStream.cs
@@ -35,9 +35,9 @@ namespace Org.BouncyCastle.Crypto.Tls.Tests } public override void Close() - { - lock (this) mClosed = true; - } + { + lock (this) mClosed = true; + } public override void Flush() { diff --git a/crypto/test/src/crypto/tls/test/PipedStream.cs b/crypto/test/src/crypto/tls/test/PipedStream.cs
index 6b2c15059..cfff4b840 100644 --- a/crypto/test/src/crypto/tls/test/PipedStream.cs +++ b/crypto/test/src/crypto/tls/test/PipedStream.cs
@@ -42,13 +42,13 @@ namespace Org.BouncyCastle.Crypto.Tls.Tests } public override void Close() - { - lock (this) + { + lock (this) { mClosed = true; Monitor.PulseAll(this); } - } + } public override void Flush() {