diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-09 16:58:56 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-09 16:58:56 +0700 |
commit | 2db852aaef49cf79e953e16f088e2190aef641f1 (patch) | |
tree | 3ef973b7b16ac2d7615a744b408e5d2e75e18d2b /crypto/src/cms/CMSSignedDataParser.cs | |
parent | Remove NET7_0 directive for now (diff) | |
download | BouncyCastle.NET-ed25519-2db852aaef49cf79e953e16f088e2190aef641f1.tar.xz |
Simplify digest calculation
Diffstat (limited to 'crypto/src/cms/CMSSignedDataParser.cs')
-rw-r--r-- | crypto/src/cms/CMSSignedDataParser.cs | 2 |
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) |