Various tidies/fixes:

Make streaming support in cms cleaner.

Note errors in various S/MIME functions if CMS_final() fails.

Add streaming support for enveloped data.
This commit is contained in:
Dr. Stephen Henson
2008-03-18 13:45:43 +00:00
parent 6e3bc4f073
commit e4f0e40eac
4 changed files with 11 additions and 36 deletions

View File

@@ -184,6 +184,7 @@ int CMS_dataFinal(CMS_ContentInfo *cms, BIO *cmsbio)
{
case NID_pkcs7_data:
case NID_pkcs7_enveloped:
case NID_pkcs7_encrypted:
case NID_id_smime_ct_compressedData:
/* Nothing to do */