From 5c6cb583dcb17b857ab97b38933ad3a616c417f8 Mon Sep 17 00:00:00 2001 From: David Hook Date: Mon, 4 Oct 2021 18:50:19 +1100 Subject: partial #68 --- crypto/test/src/asn1/test/IssuingDistributionPointTest.cs | 2 +- crypto/test/src/asn1/test/LDSSecurityObjectUnitTest.cs | 2 +- crypto/test/src/crypto/tls/test/NetworkStream.cs | 6 +++--- crypto/test/src/crypto/tls/test/PipedStream.cs | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'crypto') 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() { -- cgit 1.4.1