Commit c02b6b6b authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix for compression and updated CMS_final().

parent 3b28bc99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+4 −4

File changed.

Contains only whitespace changes.