From 6e06829728168f62bf9fe9e42c1c4d4a2136711e Mon Sep 17 00:00:00 2001 From: David Hook Date: Sun, 23 May 2021 14:02:47 +1000 Subject: github #250 lookup table error --- crypto/src/cms/CMSSignedGenerator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto') diff --git a/crypto/src/cms/CMSSignedGenerator.cs b/crypto/src/cms/CMSSignedGenerator.cs index d89d4e5b4..95d5ba65b 100644 --- a/crypto/src/cms/CMSSignedGenerator.cs +++ b/crypto/src/cms/CMSSignedGenerator.cs @@ -120,9 +120,9 @@ namespace Org.BouncyCastle.Cms algorithms["SHA1WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha1; algorithms["ECDSAWITHSHA1"] = X9ObjectIdentifiers.ECDsaWithSha1; algorithms["SHA224WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha224; - algorithms["SHA256WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha224; + algorithms["SHA256WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha256; algorithms["SHA384WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha384; - algorithms["SHA512WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha256; + algorithms["SHA512WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha512; algorithms["GOST3411WITHGOST3410"] = CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94; -- cgit 1.4.1