summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2017-09-16 21:43:47 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2017-09-16 21:43:47 +0700
commit2d399b1f03988bfcd78677d33634b77dad00c16d (patch)
tree76b353ad64a0790399bef668149148db104d360c
parentExclude GOST34.10 2012 curves from existing test cases (diff)
downloadBouncyCastle.NET-ed25519-2d399b1f03988bfcd78677d33634b77dad00c16d.tar.xz
Fix previous commit for .NET 1.1
-rw-r--r--crypto/test/src/test/NamedCurveTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/test/NamedCurveTest.cs b/crypto/test/src/test/NamedCurveTest.cs
index 8b23fcb4a..460da233e 100644
--- a/crypto/test/src/test/NamedCurveTest.cs
+++ b/crypto/test/src/test/NamedCurveTest.cs
@@ -370,7 +370,7 @@ namespace Org.BouncyCastle.Tests
             foreach (string name in ECGost3410NamedCurves.Names)
             {
                 // Current test cases don't work for GOST34.10 2012
-                if (name.Contains("3410-12"))
+                if (name.IndexOf("3410-12") >= 0)
                     continue;
 
                 doTestECGost(name);