Hello we are in the process of adding SSL support to our cross platform RAD tool Revolution. Where I'm getting stuck is on non blocking IO. Implementing Non Blocking IO for Unix is straightforward since we use select and polling to determine if we can read or write, so no problem there. The OpenSSL book which I purchased has pointed out any problems like WANT_WRITE or WANT_READ I would encounter.
1. However we recently changed all our Windows socket code to be messaged based and thus avoid the polling. I have searched the archives with no luck, so will WSAAsyncSelect() work properly with OpenSSL? If yes are there any pitfalls I should be aware of, or should I change all my Windows code to use select for OpenSSL? 2. On Windows I'm trying ioctlsocket(sock, FIONBIO, &on); to set non blocking mode, then using sbio=BIO_new_socket(sock,BIO_NOCLOSE); good idea? Seem to run into problems when doing the handshake. 3. How can I get OpenSSL to work with Open Transport and the non blocking callbacks? Should I be using Open Transport with SSL on OSX, or should I try to reimplement the unix code on OSX? 4. I noticed that the there is some code for using OpenSSL with MacOS 8.5+. Is this reliable or will I run into dozens of problems when trying to implement support for this. 5. Any way I can enable the user to use the same CA certificates that their browser is using? Loading the default paths doesn't work on Windows. Tuviah Snyder [EMAIL PROTECTED] www.runrev.com ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]