err in SSL_shutdown

2001-08-18 Thread Erik Wright
Hello, I'm using an SSL created with BIO_new_ssl_connect. I set the connect BIO to non-blocking, and I've also set the SSL_get_rbio() and SSL_get_wbio() BIO's to non-blocking. (I don't think I actually need to do that - correct?) At any rate, everything goes fine, until I call SSL_shutdown whic

Problems with SSL_set_verify

2001-08-16 Thread Erik Wright
Hi, I'm having trouble with some code that tries to set a verify callback. I've written a short program which demonstrates the problem. The symptom is this: if I call SSL_set_verify(...) then the SSL_connect call fails (but SSL_set_verify is not called!). If I call SSL_CTX_set_verify(...) with th