Hi,

   I write english very bad, but I will try to help you.

  I think that you don't load the library of SSL connection.

if(! SSL_library_init()){
                fprintf(stderr, "** OpenSSL initialization failed!\n");
                exit(1);
}

Bye
T�lio Salvaro

On Fri, 11 Mar 2005 16:55:13 EST, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>  
>  
> 
> 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 
> 
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to