Re: Problems with SMIME_read_PKCS7()

2004-09-09 Thread Dr. Stephen Henson
On Thu, Sep 09, 2004, Hellan.Kim KHE wrote: > Using OpenSSL 0.9.7c > > I'm trying to parse an S/MIME encoded (signed) PKCS#7, but I simply can't get it to > work with SMIME_read_PKCS7(). > I have the data in a memory BIO and I always get the error: > error:0D06B08E:asn1 encoding routines:ASN1_d2

Problems with SMIME_read_PKCS7()

2004-09-09 Thread Hellan.Kim KHE
Using OpenSSL 0.9.7c I'm trying to parse an S/MIME encoded (signed) PKCS#7, but I simply can't get it to work with SMIME_read_PKCS7(). I have the data in a memory BIO and I always get the error: error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data However, if I flush the data to a