On Sat, Sep 29, 2007 at 03:35:29PM -0700, Davide Libenzi wrote: > > I seriously doubt ppl are using SSL_shutdown() with non-blocking BIOs, > together with the current API semantics. Seriously.
Well, how do you suppose they're terminating their SSL sessions? If you look at the archive of this list, you'll see evidence that, in fact, there are users of the non-blocking interface -- pretty much all of whom find it poorly designed and implemented, but, they're users nonetheless. I find the API resulting from your change considerably better. I just am concerned about breaking other people's existing code. And, unfortunately, the text in the RETURN VALUES does actually document how the existing (stupid) API works. On balance maybe it's just best to apply your change. It's hardly up to _me_ whether that happens in the public OpenSSL distribution! It does look correct to me and I've applied it to my local tree, since I control all the code that's linked into. ;-) Thor ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]