diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-11-10 16:55:34 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-11-10 16:55:34 +0700 |
commit | 867bd8fe661c466e0a38678e4612c08fa4e032e0 (patch) | |
tree | d50b3c0024f9e4cda429957e3263890e39e518ec /crypto/src/cms | |
parent | Port from Java of improvements to DerBoolean and DerEnumerated (diff) | |
download | BouncyCastle.NET-ed25519-867bd8fe661c466e0a38678e4612c08fa4e032e0.tar.xz |
Don't require there to be any digests, to allow in particular for a certs-only SignedData
Diffstat (limited to 'crypto/src/cms')
-rw-r--r-- | crypto/src/cms/CMSSignedDataParser.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/src/cms/CMSSignedDataParser.cs b/crypto/src/cms/CMSSignedDataParser.cs index 35a125196..e5674a4cf 100644 --- a/crypto/src/cms/CMSSignedDataParser.cs +++ b/crypto/src/cms/CMSSignedDataParser.cs @@ -170,11 +170,6 @@ namespace Org.BouncyCastle.Cms { throw new CmsException("io exception: " + e.Message, e); } - - if (_digests.Count < 1) - { - throw new CmsException("no digests could be created for message."); - } } /** |