>From: owner-openssl-us...@openssl.org On Behalf Of Enrique Reyes Bermúdez >Sent: Wednesday, 05 June, 2013 12:44
>SMIME_read_PKCS7 >Return the error message when encryption is obtained from a digital certificate >of 1024 bits and a text of more than 392 characters: >...:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data:a_d2i_fp.c:251: <snip> >However, with a text of 391 characters or less work correctly. The input is apparently truncated/incomplete. What kind of BIO are you using? If you just BIO_read() from it, repeatedly if necessary, instead of SMIME_read, do you get the complete message? ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org