If you can, get the value of errno to determine what the syscall error is.

-Kyle H

On 6/29/06, via RT <[EMAIL PROTECTED]> wrote:

I tried to run an Application in a Server with Tru64 Ver 5.1 and using
OpenSSL Version 0.9.8a but returns "SSL connect error"... the code that
I have is the following:

void InitSSL()
{
    /* Build our SSL context */
    ctx = initialize_ctx(KEYFILE, PASSWORD);

    /* Connect the TCP socket */
    socket = tcp_connect(HOST, PORT);

    /* Connect the SSL socket */
    ssl = SSL_new(ctx);
    sbio = BIO_new_socket(socket, BIO_NOCLOSE);
    SSL_set_bio(ssl, sbio, sbio);

    if (SSL_connect(ssl) <= 0)
        berr_exit("SSL connect error");

    if (require_server_auth)
        check_cert(ssl, HOST);
}

The function SSL_connect() returns -1 (SSL_ERROR_SYSCALL)... really I
don't know what it's the problem??... I put the same Application in
other 2 Servers with Tru64 Ver 5.1b and works perfect!!!... the only
difference is the Version of the Operating System...

Do You can help me?.. Thanks a lot!!... ;o) Greetings
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

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

Reply via email to