Correct way to read / write loop

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Correct way to read / write loop

Manuel Arguelles
Hello list

what's the correct way to loop for reading and writing to file using BIO??

it seems that BIO_eof() is not working for me... if I have a BIO chain like
this:
BIO_push (cipher, buffer);
BIO_push (buffer, file);

the read and write are done to the cipher right? same as BIO_eof?

is the buffer really needed? any examples on how to read / write from big
files?

Thanks



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]