I am trying to get the SSL/TLS alert code for various errors but am having
trouble doing so.  Suppose I get the following error string:

error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher

I know this is a handshake_failure alert number 40, but I'm having
determining this information programmatically.  I have been trying to
access the warn_alert and/or fatal_alert fields of the ssl3_state_st
structure to get at the code.  However, when I access these fields they
have been set to zero, presumably because upon failure a close_notify has
been sent.  Is there a function call I'm missing that returns the actual
alert/warning that caused the premature close?  Thanks in advance.

Rob Pungello
VisualAge Smalltalk Development Team
[EMAIL PROTECTED]
http://www.software.ibm.com/ad/smalltalk

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

Reply via email to