Re: Interesting Handshake behaviour

1999-07-02 Thread Sarah Bateman
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

Re: Interesting Handshake behaviour

1999-06-29 Thread Bodo Moeller
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

Re: Interesting Handshake behaviour

1999-06-29 Thread Sarah Bateman
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

Re: Interesting Handshake behaviour

1999-06-25 Thread Bodo Moeller
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

Interesting Handshake behaviour

1999-06-25 Thread Anonymous
Hi I have been looking at this problem for a week now and am at my wits end. I'm sure it's something trivial but I certainly can't find the solution. I'm afraid it's an old version of ssleay, 0.8.1, but up until now this has been stable and caused no problems. So here is the description of th