On Thu, Jul 10, 2014, Konstantin Shemyak wrote: > On Thu, 10 Jul 2014 18:32:11 +0200, "Dr. Stephen Henson" <st...@openssl.org> > wrote: > > > On Thu, Jul 10, 2014, Konstantin Shemyak wrote: > [...] > > > Is it possible to make PKCS7_sign() behave in the latter way, i.e. > > > not create the container with zero-byte content? > > > > Are you using the PKCS7_DETACHED flag? > > No. I do not want a detached signature.
Well then that's a problem. If you set PKCS7_DETACHED you get the content excluded, if you don't set it it is included (even if it is zero length). Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org