summary refs log tree commit diff
path: root/crypto/src/cms
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2013-11-10 16:55:34 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-11-10 16:55:34 +0700
commit867bd8fe661c466e0a38678e4612c08fa4e032e0 (patch)
treed50b3c0024f9e4cda429957e3263890e39e518ec /crypto/src/cms
parentPort from Java of improvements to DerBoolean and DerEnumerated (diff)
downloadBouncyCastle.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.cs5
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.");
-			}
 		}
 
 		/**