Environment:

Red Hat Enterprise Linux ES release 2.1 (Panama) using openssl-0.9.6b-35.7 rpm package

Problem:

 Am running following code compiled under gcc:

 static SSL_CTX *gpsServerCTX;

 ..........................

 SSL_METHOD *psServerMethod;

 ..........................

 

    SSL_load_error_strings ();

    SSLeay_add_ssl_algorithms ();

 

    psServerMethod = SSLv23_server_method ();

    gpsServerCTX   = SSL_CTX_new (psServerMethod);

    if (gpsServerCTX == NULL)

        printf("vmIPInit: *** No Server SSL_CTX object created (%d) ***\n");

 

I am getting gpsServerCTX as NULL all the time.

This is code that worked on prior versions of openssl (openssl-0.9.6b-24 running in Red Hat Linux release 7.2 (Enigma) )

 Any suggestions on what may be the problem are welcome.

 Thank you

 Tom Freund

 

Reply via email to