Re: SMIME_read_PKCS7 error

2005-04-26 Thread John Moore
openssl.org To: openssl-users@openssl.org Subject: Re: SMIME_read_PKCS7 error Date: Tue, 26 Apr 2005 18:52:45 +0200 On Tue, Apr 26, 2005, John Moore wrote: > Thanks. I guess that's not a problem then. The 'ASN1_d2i_bio:not enough > data' error persists. > If you are parsing th

Re: SMIME_read_PKCS7 error

2005-04-26 Thread John Moore
eol = next_eol; ... it strips '\n' or '\r\n' whatever you have (strip_eol) and then always put '\r\n'. On 4/25/05, John Moore <[EMAIL PROTECTED]> wrote: > Hi: > > I'm an openssl newbie trying to write code to sign&encry

SMIME_read_PKCS7 error

2005-04-25 Thread John Moore
Hi: I'm an openssl newbie trying to write code to sign&encrypt followed by decrypt&verify. I'm able to do these functions individually and the sign&encrypt part works to produce an S/MIME encoded output. When I try to decrypt&verify, the decryption returns properly but when I try to parse the d