From 1ee676be089e943509d7092aa116c448aae75971 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 23 Oct 2022 21:23:28 +0700 Subject: Add Gost2012 algorithms to registries - see https://github.com/bcgit/bc-csharp/pull/217 --- crypto/test/src/security/test/TestSignerUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/test/src') 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; -- cgit 1.4.1