I hope I'm using the right mailing list.... if not do redirect me!

I have been working on a problem that involves ammonite calling some
openssl functions.
it does the following:
ssl_handle = SSL_new (ssl_context);
SSL_set_fd (ssl_handle, fd);
SSL_connect (ssl_handle);

In the handshake in ssl3_connect() it is proceeding through the
handshake in the following order; however it is exiting out at one of
the two marked locations:
SSL_ST_BEFORE|SSL_ST_CONNECT
SSL3_ST_CW_CLNT_HELLO_A
SSL_ST_CR_SRVR_HELLO_A ........... exiting by returning -1 from
ssl3_get_server_hello()
SSL3_ST_CR_CERT_A
SSL3_ST_CR_KEY_EXCH_A
SSL3_ST_CR_CERT_REQ_A
SSL3_ST_CR_SRVR_DONE_A
SSL3_ST_CW_KEY_EXCH_A ...........  exiting by returning -1 from
ssl_send_client_key_exchange()

This means that s->session->cipher is never getting set.  Should it be
getting set in this function? If not is it set by the SSL_connect code
at all?  There is a test in the code afterwards that requires it to be
set.

Thanks in advance,
Lucy Brophy

-- 

You can't stay mad at someone who makes you laugh.
        -- Jay Leno

=====================================================================
Lucy Brophy
Sun Microsystems Ireland Ltd
East Point Business Park
Dublin 3
Ireland

Tel:    +353 1 8199072
eMail:  [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to