Thanks Bodo and Guatam (name or part of an ID, I'm not sure!) for all
your advice, time and effort.
I've just tried the non-blocking handshake with a later version of
openssl (0.9.2.b) and everything works beautifully. I believe that the
non-blocking accept in 0.8.1 is indeeed broken (as suggeste
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 t
Bodo Moeller wrote:
>
> So the callbacks that you mentioned are callbacks on an other level of
> the program, not callbacks set inside the OpenSSL library, right?
Yep this is correct.
> I thought at first that you were using callbacks inside the BIO
> sub-library.
>
> > A little more info... [s
Sarah Bateman <[EMAIL PROTECTED]>:
> Client: ssleay 0.8.1 running on NT4
> Server: proxy server using ssleay 0.8.1 library
> SSL related server code:
[...]
> ssl = SSL_new (ctx);
> SSL_clear(ssl);
(An SSL_clear directly after after the SSL_new is not necessary, but
should not cause any problem