Hello,
>   I am developing a network application base on OpenSSL-0.9.8.b, on
> Redhat Linux.
>   I have added OpenSSL API in my source code, but there is something
> wrong when connecting to server. I have traced the source code, find
> that:
>   SSL_CTX_new(SSLv23_client_method()); return NULL.;
>   I really cannot figure out the reason return NULL.
>   
>   Then I have try another way to initialize SSL:
>   I use :
>       SSL_library_init();
>       SSL_load_error_strings();
>   instead
>        SSL_load_error_strings();
>        ERR_load_BIO_strings();
>        OpenSSL_add_all_algorithms();
>   the result is even worse: after run
> SSL_CTX_new(SSLv23_client_method()); the program will quit with
> exception.
Add:
        ERR_print_errors_fp(stderr);
when NULL is returned to get more information.

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to