Skip to content

Commit 6e06829

Browse files
committed
github #250 lookup table error
1 parent f7d837b commit 6e06829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crypto/src/cms/CMSSignedGenerator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ static DefaultSignatureAlgorithmIdentifierFinder()
120120
algorithms["SHA1WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha1;
121121
algorithms["ECDSAWITHSHA1"] = X9ObjectIdentifiers.ECDsaWithSha1;
122122
algorithms["SHA224WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha224;
123-
algorithms["SHA256WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha224;
123+
algorithms["SHA256WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha256;
124124
algorithms["SHA384WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha384;
125-
algorithms["SHA512WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha256;
125+
algorithms["SHA512WITHECDSA"] = X9ObjectIdentifiers.ECDsaWithSha512;
126126

127127

128128
algorithms["GOST3411WITHGOST3410"] = CryptoProObjectIdentifiers.GostR3411x94WithGostR3410x94;

0 commit comments

Comments
 (0)