You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by na...@apache.org on 2011/09/03 10:37:53 UTC

svn commit: r1164835 - /axis/axis2/c/core/trunk/src/core/transport/http/sender/ssl/ssl_utils.c

Author: nandika
Date: Sat Sep  3 08:37:52 2011
New Revision: 1164835

URL: http://svn.apache.org/viewvc?rev=1164835&view=rev
Log:
fixing the build issue with SSL

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=1164835&r1=1164834&r2=1164835&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 Sat Sep  3 08:37:52 2011
@@ -42,7 +42,7 @@ axis2_ssl_utils_initialize_ctx(
 {
     SSL_CTX *ctx = NULL;
     axis2_char_t *ca_file = server_cert;
-
+	SSL_METHOD *meth;
     if (!ca_file)
     {
         AXIS2_LOG_INFO(env->log, "[ssl client] CA certificate not specified");
@@ -63,9 +63,12 @@ axis2_ssl_utils_initialize_ctx(
 
     /* Create our context */
  # if defined OPENSSL_VERSION_NUMBER && (OPENSSL_VERSION_NUMBER >= 0x1000000fL)
-    const SSL_METHOD *meth = SSLv23_method();
+	
+	meth = SSLv23_method();
  # else
-    SSL_METHOD *meth = SSLv23_method();
+	
+	meth = SSLv23_method();
+	
  # endif
     ctx = SSL_CTX_new(meth);