axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kausha...@apache.org
Subject svn commit: r515941 - in /webservices/axis2/trunk/c/rampart: src/omxmlsec/c14n/c14n.c test/omxmlsec/test.c
Date Thu, 08 Mar 2007 06:29:33 GMT
Author: kaushalye
Date: Wed Mar  7 22:29:32 2007
New Revision: 515941

URL: http://svn.apache.org/viewvc?view=rev&rev=515941
Log:
Initializing values in method c14n_get_root_node() in c14n.c 

Modified:
    webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c
    webservices/axis2/trunk/c/rampart/test/omxmlsec/test.c

Modified: webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c?view=diff&rev=515941&r1=515940&r2=515941
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c (original)
+++ webservices/axis2/trunk/c/rampart/src/omxmlsec/c14n/c14n.c Wed Mar  7 22:29:32 2007
@@ -464,8 +464,8 @@
     const c14n_ctx_t *ctx
     )
 {
-    const axiom_node_t *parent;
-    const axiom_node_t *prv_parent;
+    const axiom_node_t *parent = NULL;
+    const axiom_node_t *prv_parent = NULL;
 
     parent = node;
     while (parent)

Modified: webservices/axis2/trunk/c/rampart/test/omxmlsec/test.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/test/omxmlsec/test.c?view=diff&rev=515941&r1=515940&r2=515941
==============================================================================
--- webservices/axis2/trunk/c/rampart/test/omxmlsec/test.c (original)
+++ webservices/axis2/trunk/c/rampart/test/omxmlsec/test.c Wed Mar  7 22:29:32 2007
@@ -99,7 +99,7 @@
     /*We need C14N transform*/
     tr = oxs_transforms_factory_produce_transform(env, OXS_HREF_TRANSFORM_XML_EXC_C14N);
     axis2_array_list_add(tr_list, env, tr);
-    oxs_sign_part_set_transforms(sign_part, env, tr_list);
+    /*oxs_sign_part_set_transforms(sign_part, env, tr_list);*/
 
     /*We need to sign this node add an ID to it*/
     node = axiom_node_get_first_element(tmpl, env);
@@ -127,8 +127,7 @@
         oxs_sign_ctx_set_operation(sign_ctx, env, OXS_SIGN_OPERATION_SIGN);
         /*Sign*/
         oxs_xml_sig_sign(env, sign_ctx, tmpl, &sig_node);
-
-        /*Optional. Build KeyInfo*/
+        /*Finally build KeyInfo*/
         oxs_xml_key_info_build(env, sig_node, cert, OXS_KIBP_X509DATA_X509CERTIFICATE);
     }else{
         printf("Sign ctx creation failed");



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