> This code just goes into a loop and keeps writing the first piece
> of info it reads. What am I doing wrong here?
>
> while (nread = BIO_gets(out, buf, sizeof(buf) ) )
> {
>      err = BIO_write(out,buf,nread );
> }

That's precisely what it's coded to do. Get a byte, then write that byte
out, then get that byte then write it out. (Perhaps you meant to 'gets' from
a different 'BIO' than you 'write' to?)

DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to