Fix for compression and updated CMS_final().
authorDr. Stephen Henson <steve@openssl.org>
Fri, 11 Apr 2008 17:07:01 +0000 (17:07 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 11 Apr 2008 17:07:01 +0000 (17:07 +0000)
crypto/cms/cms_smime.c
demos/smime/smsign2.c

index a9a11f5..6f44c84 100644 (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);
index 566ad32..ff835c5 100644 (file)
@@ -101,7 +101,7 @@ int main(int argc, char **argv)
        return ret;
 
        }
-       
-       
-       
-       
+
+
+
+