Hi Jeff.    DOH!  I was staring right into the face of two bits on, and didn't 
even see it.   thanks.  

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Jeffrey Walton
Sent: Tuesday, November 01, 2011 8:02 AM
To: [email protected]
Subject: Re: SSL_get_shutdown() returns 3

On Mon, Oct 31, 2011 at 4:15 PM,  <[email protected]> wrote:
> I'm looking into the use of SSL_get_shutdown to possibly avoid unnecessary
> calls to SSL_shutdown.   I noticed that SSL_get_shutdown() returns a 3
> sometimes, but I can't find a symbol that tells what that means.  In ssl.h I
> see:
>
> 1=SSL_SENT_SHUTDOWN and
> 2=SSL_RECEIVED_SHUTDOWN.
>
< No explanation for '3'.   Is there any meaning of 3?   Or is it simply: "too
> late, give up"
SSL_SENT_SHUTDOWN | SSL_SENT_SHUTDOWN, similar to SHUT_RD | SHUT_WR of
shutdown(2). http://linux.die.net/man/2/shutdown

Jeff
______________________________________________________________________
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