well I was thinking of calling the function in a fashion like this:
PKCS2DER(p7, &DER)

Ashu

Dr. Stephen Henson wrote:
On Wed, Sep 17, 2003, Ashutosh Jaiswal wrote:

  
I guess I switched uchar *DER and uchar *buf? It is actually the code
from the man pages of i2d_X509 (since there didn't seem to be a man page
for i2d_PKCS7, and I assumed that the two functions would be similar).

    

Yes that's one problem. The other is expecting the pointer DER to be modified
outside the function:but that's a C programming issue not OpenSSL.

Steve.
--
Dr Stephen N. Henson.
Core developer of the   OpenSSL project: http://www.openssl.org/
Freelance consultant see: http://www.drh-consultancy.demon.co.uk/
Email: [EMAIL PROTECTED], PGP key: via homepage.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
  

-- 
http://www.jaiashu.com/
-------------------------------------
"I would like to change the world,
but they wont tell me the source code"


Reply via email to