Fix for compression and updated CMS_final().

This commit is contained in:
Dr. Stephen Henson 2008-04-11 17:07:01 +00:00
parent 3b28bc9910
commit c02b6b6b21
2 changed files with 5 additions and 5 deletions

View File

@ -749,7 +749,7 @@ CMS_ContentInfo *CMS_compress(BIO *in, int comp_nid, unsigned int flags)
if(!(flags & CMS_DETACHED))
CMS_set_detached(cms, 0);
if ((flags & CMS_STREAM) || CMS_final(cms, in, flags))
if ((flags & CMS_STREAM) || CMS_final(cms, in, NULL, flags))
return cms;
CMS_ContentInfo_free(cms);

View File

@ -101,7 +101,7 @@ int main(int argc, char **argv)
return ret;
}