IMHO if this is going to be done it should be more flexible. There are various assumptions in the code about the presence of a socket or fd in the chain. There might be occasions where other types of BIO are needed and the library function should only assume non blocking BIO behaviour and return retries to the application which can then take appropriate action.
Steve. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]