Okay, interesting development. If I put a sleep(5); on the C client before I issue SSL_connect (but after I BIO_write "ssl on\n"), everything works fine. Otherwise both client and server deadlock on read/recv.
Ray Russell Reese III wrote: >There seems to be a problem with the client however. I setup the >initial plain-text connection using a BIO like so: > > BIO *conn; > conn = BIO_new_connect(server); > BIO_do_connect(conn); > >This works perfectly. Then after the connection is established, I go >ahead and issue this: > > BIO_write(conn, "ssl on\n", 7); > BIO_flush(conn); > > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
