Hi All:

I've been asked to get OpenSSL working on the Mac with Mac OS 9.2.1.  I've
got new Codewarrior 6.3 project going (based on the one in the 0.9.6b
distribution).  But I'm having a problem.  Can't connect to a secure server
(I'm using the ComLine example to test this code and I'm trying to get the
page at https://www-apache-ssl.org).

I've jotted down the flow of the program and maybe someone can point me to
where I'm going wrong.  (I'm suspect that I'm not initializing something
properly or something like that...)

The flow goes something like this (forgive type-os):

get_server_hello()
decides that it's sslv3 or tls1
State goes to SSL3_ST_CR_SRVR_HELLO
method = TLSv1_client_method
ssl_get_message()
get_cipher_by_char()
State goes to SSL3_ST_CR_CERT_A
get_server_certificate()
State goes to SSL_ST_READ_BODY
State goes to SSL_NOTHING
State goes to SSL_READ_HEADER
ssl_get_record()
State goes to SSL3_ST_CR_KEY_EXCH_A
State goes to SSL3_ST_CR_CERT_REQ_A
ssl3_check_cert_and_algorithm()

Now in ssl3_check_cert_and_algorithm() the program just jumps over all the
logic that decides what cipher to use.

After that a error is returned and my world falls apart. 

So I'm at my wits end.  There's something basic (I believe) I'm missing.
Any help would be appreciated.

Best Regards


John Cebasek
[EMAIL PROTECTED]

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

Reply via email to