From 867bd8fe661c466e0a38678e4612c08fa4e032e0 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 10 Nov 2013 16:55:34 +0700 Subject: Don't require there to be any digests, to allow in particular for a certs-only SignedData --- crypto/src/cms/CMSSignedDataParser.cs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'crypto/src') 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."); - } } /** -- cgit 1.4.1