summary refs log tree commit diff
path: root/crypto/test/src/tls
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-07-12 15:24:04 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-07-12 15:24:04 +0700
commit2694721faa07e61e84c83bf296f00c8a5c5f7502 (patch)
treeb35e41b65a0db5c7f1c111d6b18e9ee5272650bb /crypto/test/src/tls
parentPort of new TLS API from bc-java (diff)
downloadBouncyCastle.NET-ed25519-2694721faa07e61e84c83bf296f00c8a5c5f7502.tar.xz
Fix some warnings
Diffstat (limited to 'crypto/test/src/tls')
-rw-r--r--crypto/test/src/tls/test/TlsProtocolNonBlockingTest.cs4
-rw-r--r--crypto/test/src/tls/test/TlsProtocolTest.cs2
-rw-r--r--crypto/test/src/tls/test/TlsPskProtocolTest.cs2
-rw-r--r--crypto/test/src/tls/test/TlsSrpProtocolTest.cs2
4 files changed, 5 insertions, 5 deletions
diff --git a/crypto/test/src/tls/test/TlsProtocolNonBlockingTest.cs b/crypto/test/src/tls/test/TlsProtocolNonBlockingTest.cs
index 56cd39e87..fac3419fb 100644
--- a/crypto/test/src/tls/test/TlsProtocolNonBlockingTest.cs
+++ b/crypto/test/src/tls/test/TlsProtocolNonBlockingTest.cs
@@ -104,7 +104,7 @@ namespace Org.BouncyCastle.Tls.Tests
                 protocol.OfferInput(new byte[10]);
                 Assert.Fail("Input was accepted after close");
             }
-            catch (IOException e)
+            catch (IOException)
             {
             }
 
@@ -113,7 +113,7 @@ namespace Org.BouncyCastle.Tls.Tests
                 protocol.WriteApplicationData(new byte[10], 0, 10);
                 Assert.Fail("Output was accepted after close");
             }
-            catch (IOException e)
+            catch (IOException)
             {
             }
         }
diff --git a/crypto/test/src/tls/test/TlsProtocolTest.cs b/crypto/test/src/tls/test/TlsProtocolTest.cs
index b4f79f9ba..c0287d913 100644
--- a/crypto/test/src/tls/test/TlsProtocolTest.cs
+++ b/crypto/test/src/tls/test/TlsProtocolTest.cs
@@ -66,7 +66,7 @@ namespace Org.BouncyCastle.Tls.Tests
                     Streams.PipeAll(m_serverProtocol.Stream, m_serverProtocol.Stream);
                     m_serverProtocol.Close();
                 }
-                catch (Exception e)
+                catch (Exception)
                 {
                 }
             }
diff --git a/crypto/test/src/tls/test/TlsPskProtocolTest.cs b/crypto/test/src/tls/test/TlsPskProtocolTest.cs
index 97e6f133b..449f9ea16 100644
--- a/crypto/test/src/tls/test/TlsPskProtocolTest.cs
+++ b/crypto/test/src/tls/test/TlsPskProtocolTest.cs
@@ -66,7 +66,7 @@ namespace Org.BouncyCastle.Tls.Tests
                     Streams.PipeAll(m_serverProtocol.Stream, m_serverProtocol.Stream);
                     m_serverProtocol.Close();
                 }
-                catch (Exception e)
+                catch (Exception)
                 {
                 }
             }
diff --git a/crypto/test/src/tls/test/TlsSrpProtocolTest.cs b/crypto/test/src/tls/test/TlsSrpProtocolTest.cs
index 555b1f1f7..f85a67dd5 100644
--- a/crypto/test/src/tls/test/TlsSrpProtocolTest.cs
+++ b/crypto/test/src/tls/test/TlsSrpProtocolTest.cs
@@ -66,7 +66,7 @@ namespace Org.BouncyCastle.Tls.Tests
                     Streams.PipeAll(m_serverProtocol.Stream, m_serverProtocol.Stream);
                     m_serverProtocol.Close();
                 }
-                catch (Exception e)
+                catch (Exception)
                 {
                 }
             }