diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-08-01 15:26:17 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-08-01 15:26:17 +0700 |
commit | 107daf377cc04709860ba0a87d582d4ce9d74a2f (patch) | |
tree | 4cc5759d3bec812398145380de398fbd8845011d | |
parent | Misc. ASN.1 updates from bc-java (diff) | |
download | BouncyCastle.NET-ed25519-107daf377cc04709860ba0a87d582d4ce9d74a2f.tar.xz |
Fix warnings
-rw-r--r-- | crypto/test/src/crypto/test/SCryptTest.cs | 2 | ||||
-rw-r--r-- | crypto/test/src/test/NamedCurveTest.cs | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/crypto/test/src/crypto/test/SCryptTest.cs b/crypto/test/src/crypto/test/SCryptTest.cs index 82bc60880..f236c4bf0 100644 --- a/crypto/test/src/crypto/test/SCryptTest.cs +++ b/crypto/test/src/crypto/test/SCryptTest.cs @@ -65,7 +65,7 @@ namespace Org.BouncyCastle.Crypto.Tests SCrypt.Generate(pass, salt, N, r, p, len); Fail(msg); } - catch (ArgumentException e) + catch (ArgumentException) { //Console.Error.WriteLine(e.StackTrace); } diff --git a/crypto/test/src/test/NamedCurveTest.cs b/crypto/test/src/test/NamedCurveTest.cs index f7c831f17..5dec49c41 100644 --- a/crypto/test/src/test/NamedCurveTest.cs +++ b/crypto/test/src/test/NamedCurveTest.cs @@ -251,15 +251,15 @@ namespace Org.BouncyCastle.Tests // Current test cases don't work for GOST34.10 2012 return; - keyAlgorithm = "ECGOST3410-2012"; - if (name.IndexOf("256") > 0) - { - sgr = SignerUtilities.GetSigner("ECGOST3410-2012-256"); - } - else - { - sgr = SignerUtilities.GetSigner("ECGOST3410-2012-512"); - } + //keyAlgorithm = "ECGOST3410-2012"; + //if (name.IndexOf("256") > 0) + //{ + // sgr = SignerUtilities.GetSigner("ECGOST3410-2012-256"); + //} + //else + //{ + // sgr = SignerUtilities.GetSigner("ECGOST3410-2012-512"); + //} } else { |