I am running openssl on Windows 2003 server, beta. After a successful handshake sequence I can do a SSL_write, BIO_read successfully, ie. write clean data and get encrypted data, once. On the next call to SSL_write, BIO_read I get an alert flag with the encrypted data.
Does anyone know of a bug on windows. I also find I have to do a BIO_write, SSL_read, and another SSL_read to grab the handshake data.