summary refs log tree commit diff
path: root/crypto/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/test/src')
-rw-r--r--crypto/test/src/math/test/PrimesTest.cs2
-rw-r--r--crypto/test/src/test/BaseBlockCipherTest.cs4
-rw-r--r--crypto/test/src/test/PkixPolicyMappingTest.cs4
3 files changed, 5 insertions, 5 deletions
diff --git a/crypto/test/src/math/test/PrimesTest.cs b/crypto/test/src/math/test/PrimesTest.cs

index 4456ef2c1..6854e160b 100644 --- a/crypto/test/src/math/test/PrimesTest.cs +++ b/crypto/test/src/math/test/PrimesTest.cs
@@ -142,7 +142,7 @@ namespace Org.BouncyCastle.Math.Tests continue; } - throw e; + throw; } } diff --git a/crypto/test/src/test/BaseBlockCipherTest.cs b/crypto/test/src/test/BaseBlockCipherTest.cs
index 87fb01056..aca912131 100644 --- a/crypto/test/src/test/BaseBlockCipherTest.cs +++ b/crypto/test/src/test/BaseBlockCipherTest.cs
@@ -115,9 +115,9 @@ namespace Org.BouncyCastle.Tests + Hex.ToHexString(cText)); } } - catch (TestFailedException e) + catch (TestFailedException) { - throw e; + throw; } catch (Exception e) { diff --git a/crypto/test/src/test/PkixPolicyMappingTest.cs b/crypto/test/src/test/PkixPolicyMappingTest.cs
index 4dbfe0ad5..66e09309c 100644 --- a/crypto/test/src/test/PkixPolicyMappingTest.cs +++ b/crypto/test/src/test/PkixPolicyMappingTest.cs
@@ -144,9 +144,9 @@ namespace Org.BouncyCastle.Tests return ""; } - catch (TestFailedException e) + catch (TestFailedException) { - throw e; + throw; } catch (Exception e) {