axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kausha...@apache.org
Subject svn commit: r477568 - in /webservices/axis2/trunk/c/rampart: include/rampart_sec_header_processor.h src/omxmlsec/iv.c src/omxmlsec/openssl/crypt.c src/omxmlsec/xml_encryption.c src/util/rampart_handler_util.c src/util/rampart_util.c
Date Tue, 21 Nov 2006 08:12:21 GMT
Author: kaushalye
Date: Tue Nov 21 00:12:20 2006
New Revision: 477568

URL: http://svn.apache.org/viewvc?view=rev&rev=477568
Log:
Removing printfs

Modified:
    webservices/axis2/trunk/c/rampart/include/rampart_sec_header_processor.h
    webservices/axis2/trunk/c/rampart/src/omxmlsec/iv.c
    webservices/axis2/trunk/c/rampart/src/omxmlsec/openssl/crypt.c
    webservices/axis2/trunk/c/rampart/src/omxmlsec/xml_encryption.c
    webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c
    webservices/axis2/trunk/c/rampart/src/util/rampart_util.c

Modified: webservices/axis2/trunk/c/rampart/include/rampart_sec_header_processor.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rampart_sec_header_processor.h?view=diff&rev=477568&r1=477567&r2=477568
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rampart_sec_header_processor.h (original)
+++ webservices/axis2/trunk/c/rampart/include/rampart_sec_header_processor.h Tue Nov 21 00:12:20
2006
@@ -42,7 +42,7 @@
 * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
 */
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-rampart_sp_process_message(const axis2_env_t *env,
+rampart_shp_process_message(const axis2_env_t *env,
     axis2_msg_ctx_t *msg_ctx,
     rampart_actions_t *actions,
     axiom_soap_envelope_t *soap_envelope,

Modified: webservices/axis2/trunk/c/rampart/src/omxmlsec/iv.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/omxmlsec/iv.c?view=diff&rev=477568&r1=477567&r2=477568
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/omxmlsec/iv.c (original)
+++ webservices/axis2/trunk/c/rampart/src/omxmlsec/iv.c Tue Nov 21 00:12:20 2006
@@ -58,7 +58,6 @@
     {
         iv = OXS_IV_DEFAULT;/* i.e. OPENSSL_DEFAULT_IV16. Many ciphers have 16... mmm.. need
a better way.. a TODO*/
     }
-    printf("IVIVIVIV size=%d value = %s", size, iv);
 
     return iv;
 }

Modified: webservices/axis2/trunk/c/rampart/src/omxmlsec/openssl/crypt.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/omxmlsec/openssl/crypt.c?view=diff&rev=477568&r1=477567&r2=477568
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/omxmlsec/openssl/crypt.c (original)
+++ webservices/axis2/trunk/c/rampart/src/omxmlsec/openssl/crypt.c Tue Nov 21 00:12:20 2006
@@ -80,6 +80,7 @@
         if (do_encrypt == 1)
         {
             printf("\nEncrypting block[%d] %s", inlen, inbuf);
+            AXIS2_LOG_INFO(env->log, "[oxs][crypt.c] Encrypting block[%d] %s", inlen,
inbuf);
         }
 
         memset(outbuf, 0 , BUFSIZE + EVP_MAX_BLOCK_LENGTH);/*Reset memory for the outbuf*/
@@ -113,6 +114,7 @@
         /* Error */
         EVP_CIPHER_CTX_cleanup(&ctx);
         printf("\nERROR:EVP_CipherFinal_ex--- EVP_CIPHER_CTX_cleanup\n");
+        AXIS2_LOG_INFO(env->log, "[oxs][crypt.c] EVP_CIPHER_CTX_cleanup ");
         return (-1);
     }
     /*Alright now we need to write the last drop*/

Modified: webservices/axis2/trunk/c/rampart/src/omxmlsec/xml_encryption.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/omxmlsec/xml_encryption.c?view=diff&rev=477568&r1=477567&r2=477568
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/omxmlsec/xml_encryption.c (original)
+++ webservices/axis2/trunk/c/rampart/src/omxmlsec/xml_encryption.c Tue Nov 21 00:12:20 2006
@@ -125,7 +125,6 @@
     /*Decrypt*/
     oxs_xml_enc_decrypt_data(env, enc_ctx, enc_type_node, result_buf);
     decrypted_data = (axis2_char_t *)OXS_BUFFER_GET_DATA(result_buf, env);
-    printf("\nDecrypted_Data = %s\n", decrypted_data); 
     /*De-serialize the decrypted content to build the node*/
     deserialized_node = (axiom_node_t*)oxs_axiom_deserialize_node(env, decrypted_data);
     if(!deserialized_node){

Modified: webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c?view=diff&rev=477568&r1=477567&r2=477568
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c (original)
+++ webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c Tue Nov 21 00:12:20
2006
@@ -86,15 +86,6 @@
         property = NULL;
     }
 
-    if (str_property)
-    {
-        return str_property;
-    }
-    else
-    {
-        /* printf(" Cannot find dynamic settings for %s ", key);*/
-    }
-
     return str_property;
 }
 
@@ -151,7 +142,7 @@
 
     if (!param_action)
     {
-        printf("param_action is NULL");
+        AXIS2_LOG_INFO(env->log, "[rampart][rampart_handler_util] param_action is NULL");
     }
 
     param_type = AXIS2_PARAM_GET_PARAM_TYPE(param_action, env);
@@ -160,7 +151,7 @@
     param_list = AXIS2_PARAM_GET_VALUE_LIST(param_action, env);
     if (!param_list)
     {
-        printf("param list is null");
+        AXIS2_LOG_INFO(env->log, "[rampart][rampart_handler_util] param list is NULL");
     }
 
     size = AXIS2_ARRAY_LIST_SIZE(param_list, env);

Modified: webservices/axis2/trunk/c/rampart/src/util/rampart_util.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/util/rampart_util.c?view=diff&rev=477568&r1=477567&r2=477568
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/util/rampart_util.c (original)
+++ webservices/axis2/trunk/c/rampart/src/util/rampart_util.c Tue Nov 21 00:12:20 2006
@@ -84,7 +84,6 @@
         return AXIS2_FAILURE;
     }
 
-    /*printf("\n DT1 = %s",AXIS2_DATE_TIME_SERIALIZE_DATE_TIME(dt1, env)); */
     yyyy1 = AXIS2_DATE_TIME_GET_YEAR(dt1, env);
     mm1 = AXIS2_DATE_TIME_GET_MONTH(dt1, env);
     dd1 = AXIS2_DATE_TIME_GET_DATE(dt1, env);
@@ -97,8 +96,6 @@
     {
         return AXIS2_FAILURE;
     }
-
-    /*printf("\n DT2 = %s",AXIS2_DATE_TIME_SERIALIZE_DATE_TIME(dt2, env)); */
 
     yyyy2 = AXIS2_DATE_TIME_GET_YEAR(dt2, env);
     mm2 = AXIS2_DATE_TIME_GET_MONTH(dt2, env);



---------------------------------------------------------------------
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