I am trying to add tracing to my server application.  I'm confused by what
this function does.  It seems to hinge on the variable "cmd".  Where is that
set and what are the options?  

It also seems like the function is working, but I don't see output?  Does it
write to the BIO structure or the monitor?  If the BIO, what api do I use to
write to a file or monitor?

What is the difference between the two functions that initialize
"bio_s_out"? 

Here is the relevant section of my code:
                //Load callback function for error tracing.
                BIO_set_callback(SSL_get_rbio(ssl),bio_dump_cb);
                BIO* bio_s_out = NULL;
                //bio_s_out=BIO_new_fp(stdout,BIO_NOCLOSE);
                bio_s_out=BIO_new(BIO_s_null());
                BIO_set_callback_arg(SSL_get_rbio(ssl),bio_s_out);

Thanks for any help you can offer!

Monique Mandala
Proginet Corporation

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

Reply via email to