On 2014-07-10 20:43, Dr. Stephen Henson 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, thank you very much! This explains it (so easily).

Konstantin.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to