You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by du...@apache.org on 2008/03/18 20:36:48 UTC

svn commit: r638527 - in /webservices/axis2/trunk/c/src/core/transport/http/sender/ssl: ssl_stream.c ssl_utils.c

Author: dumindu
Date: Tue Mar 18 12:36:47 2008
New Revision: 638527

URL: http://svn.apache.org/viewvc?rev=638527&view=rev
Log:
Include ssl client only when AXIS2_SSL_ENABLED is defined. Required for VC project.

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

Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/ssl/ssl_stream.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/ssl/ssl_stream.c?rev=638527&r1=638526&r2=638527&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/ssl/ssl_stream.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/ssl/ssl_stream.c Tue Mar 18 12:36:47 2008
@@ -15,6 +15,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+#ifdef AXIS2_SSL_ENABLED
 
 #include <string.h>
 #include <stdlib.h>
@@ -241,3 +242,5 @@
     AXIS2_ENV_CHECK(env, AXIS2_CRITICAL_FAILURE);
     return AXIS2_INTF_TO_IMPL(stream)->stream_type;
 }
+
+#endif
\ No newline at end of file

Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/ssl/ssl_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/ssl/ssl_utils.c?rev=638527&r1=638526&r2=638527&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/ssl/ssl_utils.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/ssl/ssl_utils.c Tue Mar 18 12:36:47 2008
@@ -15,6 +15,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+#ifdef AXIS2_SSL_ENABLED
+
 #include "ssl_utils.h"
 #include <openssl/err.h>
 BIO *bio_err = 0;
@@ -217,3 +219,5 @@
     }
     return AXIS2_SUCCESS;
 }
+
+#endif
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org