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 decypted contents in a BIO using SMIME_read_PKCS7 I get this error:
error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough data
I've looked at the content of the output from PKCS7_decrypt and it looks OK, the only difference from the original data being the use of \r\n instead of \n to terminate lines.
Any assistance is appreciated. I'm using 0.9.7g.
Thanks.
- John.
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]