summary refs log tree commit diff
path: root/crypto/src/cms/CMSSignedDataParser.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-11-09 16:58:56 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-11-09 16:58:56 +0700
commit2db852aaef49cf79e953e16f088e2190aef641f1 (patch)
tree3ef973b7b16ac2d7615a744b408e5d2e75e18d2b /crypto/src/cms/CMSSignedDataParser.cs
parentRemove NET7_0 directive for now (diff)
downloadBouncyCastle.NET-ed25519-2db852aaef49cf79e953e16f088e2190aef641f1.tar.xz
Simplify digest calculation
Diffstat (limited to 'crypto/src/cms/CMSSignedDataParser.cs')
-rw-r--r--crypto/src/cms/CMSSignedDataParser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/CMSSignedDataParser.cs b/crypto/src/cms/CMSSignedDataParser.cs
index 04a6d666b..83f87718f 100644
--- a/crypto/src/cms/CMSSignedDataParser.cs
+++ b/crypto/src/cms/CMSSignedDataParser.cs
@@ -213,7 +213,7 @@ namespace Org.BouncyCastle.Cms
 
 						byte[] hash = hashes[digestName];
 
-						signerInfos.Add(new SignerInformation(info, _signedContentType, null, new BaseDigestCalculator(hash)));
+						signerInfos.Add(new SignerInformation(info, _signedContentType, null, hash));
 					}
 				}
 				catch (IOException e)