summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-10-23 21:23:28 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-10-23 21:23:28 +0700
commit1ee676be089e943509d7092aa116c448aae75971 (patch)
tree559e469d851746da190a2278d2772f37bbcf72a0 /crypto/test
parentRefactoring in SP80038G (diff)
downloadBouncyCastle.NET-ed25519-1ee676be089e943509d7092aa116c448aae75971.tar.xz
Add Gost2012 algorithms to registries
- see https://github.com/bcgit/bc-csharp/pull/217
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/security/test/TestSignerUtil.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/security/test/TestSignerUtil.cs b/crypto/test/src/security/test/TestSignerUtil.cs
index 2c569d030..57545cdc6 100644
--- a/crypto/test/src/security/test/TestSignerUtil.cs
+++ b/crypto/test/src/security/test/TestSignerUtil.cs
@@ -162,7 +162,7 @@ namespace Org.BouncyCastle.Security.Tests
                     signParams = dsaPriv;
                     verifyParams = dsaPub;
                 }
-                else if (cipherName == "ECGOST3410")
+                else if (cipherName.StartsWith("ECGOST"))
                 {
                     signParams = ecGostPair.Private;
                     verifyParams = ecGostPair.Public;