On Fri, Jul 30, 1999 at 12:23:00AM +0200, Bodo Moeller wrote: > (You also do not really have to pay attention to SSL_ERROR_WANT_READ > -- just as well you might look at BIO_ctrl_get_read_request at the I/O > end of the BIO pair to check whether the SSL library tried to read > some data that was not there. This function also tells you how many > bytes the SSL library needs, so that its return value can be used as > the byte-count parameter for whatever function you use to read from > the network.) It *could* be used as byte-count parameter for network reads if it wasn't for some horrible bugs in s23_get_client_hello (the problem occurs for servers that accept cient hellos for SSL3/TLS in the SSL2 compatible format -- if the second attempt of reading from the network fails, that function cannot be properly restarted; a fix is on the way). ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
