[EMAIL PROTECTED] wrote:
>
> Hello,
>
>
> Specifically, I create a new BIO_s_mem. Write to it with either BIO_puts or
> BIO_write. Then do a BIO_push(b64bio, mbio). Then BIO_read(b64bio, mybuf,
> len). It returns -1. When I ask if I should retry it says yes, but there is
> no output on the second call either.
>
You need to make the memory BIO return EOF when it is empty. Read the
BIO_s_mem() manual page for more info.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]