Hi Lutz,
I have debugged the prog and see that it is hanged at the SSL_connect(ssl) function;
Where can I find out the Eric Rescola's ssldump.
Thank you for your response.
Al.
On Tue, Jan 02, 2001 at 05:36:06PM -0500, Alioune Thiam wrote:
> Is any specific method/command to run before running the program.
> Here is what I do :
>                                     initialize ssl with
>                                       SSLeay_add_ssl_algorithms()
>                                       retrieve or set the method with
> sslv23_client_meth
>                                          set error and seed
>                                       create the context with
> ssl_CTX_new()
>
>                                     create the socket with socket(..),
> and connect() /*ok still hear..*/
>                                     define the ssl var. with ssl =
> SSL_new()
>                                      set the socket as the file
> descriptor for the ssl var.
>                                     and at last call SSL_connect witch
> hangs...
>
>
>                                         from there the SSL_connect hang,
> why ???
>
> Any suggestion, clue ?

Go back and re-check that you made everything correct. You give us
fragments of what you are doing but we cannot see whether it is correct
or not.
Anyway there are several things to do:
- you could run the software under a debugger and see in which function
  it is waiting.
- you could run Eric Rescorla's ssldump utility to trace the connection
  established and see in which part of the handshake the problem occurs.
- you could take a known-to-work program and compare it to your code.

Best regards,
        Lutz
--
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus              http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

-- 
Alioune THIAM

Software Developer

Professo
One Wall Street Court
New York, New York 10005-3302

voice: (212) 514-6644 
fax:   (212) 514-8089
 

Reply via email to