Author: nandika
Date: Tue Aug  3 08:11:07 2010
New Revision: 981770

URL: http://svn.apache.org/viewvc?rev=981770&view=rev
Log:
code updated

Modified:
    axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_utils.c

Modified: axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_utils.c
URL: 
http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_utils.c?rev=981770&r1=981769&r2=981770&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_utils.c 
(original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_utils.c Tue 
Aug  3 08:11:07 2010
@@ -56,6 +56,7 @@ axis2_ssl_utils_initialize_ctx(
         /* Global system initialization */
         SSL_library_init();
         SSL_load_error_strings();
+       OpenSSL_add_all_algorithms();
 
         /* An error write context */
         bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
@@ -106,7 +107,7 @@ key file %s and server cert %s", key_fil
     }
 
     /* Load the CAs we trust */
-    if (!(SSL_CTX_load_verify_locations(ctx, ca_file, 0)))
+    if (!(SSL_CTX_load_verify_locations(ctx, ca_file, 0) ||  
(!SSL_CTX_set_default_verify_paths(ctx))))
     {
         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
             "[ssl client] Loading CA certificate failed, \


Reply via email to