axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r512161 - /webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_utils.c
Date Tue, 27 Feb 2007 07:08:53 GMT
Author: nandika
Date: Mon Feb 26 23:08:53 2007
New Revision: 512161

URL: http://svn.apache.org/viewvc?view=rev&rev=512161
Log:
printf changed to logs

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

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_utils.c?view=diff&rev=512161&r1=512160&r2=512161
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_utils.c Mon Feb 26
23:08:53 2007
@@ -89,14 +89,14 @@
 
         if(!(SSL_CTX_use_certificate_chain_file(ctx, key_file)))
         {
-            printf("Loading client certificate failed!\n");
+			AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[ssl client] loading client certificate failed
");
             SSL_CTX_free(ctx);
             return NULL;
         }
 
         if(!(SSL_CTX_use_PrivateKey_file(ctx, key_file, SSL_FILETYPE_PEM)))
         {
-            printf("Loading client key failed!\n");
+			AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[ssl client] Loading client key failed");
             SSL_CTX_free(ctx);
             return NULL;
         }
@@ -105,7 +105,7 @@
     /* Load the CAs we trust*/
     if (!(SSL_CTX_load_verify_locations(ctx, ca_file, 0)))
     {
-        printf("Loading CA certifiate failed!\n");
+		AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[ ssl client ] Loading CA certificate failed
");
         SSL_CTX_free(ctx);
         return NULL;
     }



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


Mime
View raw message