On Tue, Aug 03, 1999 at 10:33:21AM +0200, Anssi Bragge wrote:

>       I've built a dedicated SSL-server with SSLeay (not WWW server) and it
> has run smoothly for it's purpose. Now, I was just fooling around and
> did a 'stupid' test with connecting to the port with Netscape, and was
> surprised at the result. 
> 
>       The server ran smoothly past the SSL_accept, altho Netscape complainted
> that there are no common ciphers between the browser and the 
> server. That is natural, as I'm allowing only a special cipher. Of
> course the server later failed in the next function, as Netscape was not
> answering any more.
> 
>       Now, I've only seen in the examples, that a check against -1 is used
> for the return value of the SSL_accept. Is it possible that the return
> value is 0? I have only tested against -1 so far.

0 is returned if the connection has been closed by the peer.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to