On Sun, Jan 19, 2003, marcus.carey wrote:

> There was no data in BIO out.
> 
> I needed to call BIO_reset() after calling PKCS7_sign().
> 

>From which I deduce you are also using PKCS7_DETACHED. Yes at present you have
to call BIO_reset() to rewind the BIO to the start. This is because detached
data needs to make two passes over the signed data, one to sign it and the
other to output the data itself. If the OpenSSL code was made a little bit
cleverer only one pass would be needed which would combine the operations...

Steve.
--
Dr. Stephen Henson      [EMAIL PROTECTED]            
OpenSSL Project         http://www.openssl.org/~steve/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to