Good job Lutz!

There is, however, one ambiguity. The paragraph:

If the peer already sent the "close notify" alert and it was already
processed implicitly inside another call of e.g. SSL_read(3)|SSL_read(3),
SSL_shutdown() will send the "close notify" alert, set the SSL_SENT_SHUTDOWN
flag and will immediately return with 1.

doesn't make sense in respect to "SSL_read(3)|SSL_read(3)".

Cheers

Mike

----- Original Message -----
From: "Lutz Jaenicke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 19, 2001 9:22 AM
Subject: Re: err in SSL_shutdown


> On Sat, Aug 18, 2001 at 05:20:59PM -0700, Erik Wright wrote:
> > Hello, I'm using an SSL created with BIO_new_ssl_connect.
> >
> > I set the connect BIO to non-blocking, and I've also set the
> > SSL_get_rbio() and SSL_get_wbio() BIO's to non-blocking.
> >
> > (I don't think I actually need to do that - correct?)
> >
> > At any rate, everything goes fine, until I call SSL_shutdown which
> > returns 0. I always get the following error from SSL_get_error():
> >
> > error:0818FEB0:object identifier routines:func(399):reason(3760)
>
> It is a good policy to call SSL_load_error_strings()...
>
> > In all the example code which calls SSL_shutdown, it ignores the return
> > value. Should I just do the same?
>
> During the last week I have rewritten the manual page for SSL_shutdown(),
> please use the online version or download a snapshot of OpeSSL to obtain
> it.
> It probably contains the answer to your question.
>
> Best regards,
> Lutz
> --
> Lutz Jaenicke                             [EMAIL PROTECTED]
> BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
> Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
> Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to