On Tue, Jun 29, 1999 at 12:42:38PM +0100, Sarah Bateman wrote:
>> And I finally found the cause of your problem: You call
>> BIO_sock_should_retry with the return value of SSL_accept. You should
>> not do that, the BIO library already has done that when BIO_read and
>> BIO_write were called by the SSL library. The result is stored inside
>> the BIO structure, from where the SSL library can obtain it (through
>> the BIO_should_read/write macros) when SSL_get_error is called; and
>> SSL_get_error is what you should use in your program.
> Thanks for your help, I'd love to report this was the problem, but
> unfortunately not.
Um ... well, it would have become a problem if the rest had worked.
So maybe it's a problem of that library version, possibly it gets
confused under some conditions when a recv returns early (the client
key exchange message is too large to fit into a single TCP packet of
usual size, so there's a difference between blocking and non-blocking
I/O).
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]