Re: bio_dump_cb

2001-04-26 Thread Lutz Jaenicke
ence 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

Re: bio_dump_cb

2001-04-25 Thread Greg Stark
Monique, I'm a little confused by your example; it looks like three distinct code fragments (or maybe 2.5?) . In the first, your function bio_dump_cb is called at various times. It is up to bio_dump_cb where the information is actually written. There is also a callback argument you ca

bio_dump_cb

2001-04-25 Thread Monique Mandala
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 of