Hi all, Part of my source code is following: _ctx = SSL_CTX_new(SSLv23_client_method()); if(_ctx == NULL) { result = SSL_ERROR_CREATE_NEW_CTX; ERR_print_errors_fp(stderr); czEmail_Report("SSL create new contex ERROR!", result); return result; }
_ctx is NULL, and it reports error on the stderr: 2458:error:140A90A1:SSL routines:SSL_CTX_new:library has no ciphers:ssl_lib.c:1424: Then I search the error description above in google, it seems like a bug of OpenSSL-0.9.8, but I am not very sure about it. Please refer to this URL: http://lists.alioth.debian.org/pipermail/pkg-openssl-devel/2005-October/000219.html How do you think about this problem? Thanks for your attentions! On 11/26/06, Marek Marcola <[EMAIL PROTECTED]> wrote:
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]