Author: milinda
Date: Thu Feb  7 23:31:01 2008
New Revision: 619791

URL: http://svn.apache.org/viewvc?rev=619791&view=rev
Log:
Fixing build errors in Linux.

Modified:
    webservices/rampart/trunk/c/include/oxs_saml_token.h
    webservices/rampart/trunk/c/include/rampart_config.h
    webservices/rampart/trunk/c/include/rampart_saml.h
    webservices/rampart/trunk/c/include/rampart_saml_token.h
    webservices/rampart/trunk/c/src/omxmlsec/derivation.c
    webservices/rampart/trunk/c/src/omxmlsec/tokens/token_saml.c
    webservices/rampart/trunk/c/src/omxmlsec/tokens/token_transform.c
    webservices/rampart/trunk/c/src/omxmlsec/transforms_factory.c
    webservices/rampart/trunk/c/src/util/rampart_config.c
    webservices/rampart/trunk/c/src/util/rampart_context.c
    webservices/rampart/trunk/c/src/util/rampart_saml.c
    webservices/rampart/trunk/c/src/util/rampart_saml_token.c
    webservices/rampart/trunk/c/src/util/rampart_signature.c

Modified: webservices/rampart/trunk/c/include/oxs_saml_token.h
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_saml_token.h?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_saml_token.h (original)
+++ webservices/rampart/trunk/c/include/oxs_saml_token.h Thu Feb  7 23:31:01 
2008
@@ -29,27 +29,27 @@
 #define OXS_ST_KEY_ID_VALUE_TYPE    
"http://docs.oasis-open.org/wss/oass-wss-saml-token-profile-1.0#SAMLAssertionID";
 
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-oxs_saml_token_build_key_identifier_reference_local(axutil_env_t *env, 
+oxs_saml_token_build_key_identifier_reference_local(const axutil_env_t *env, 
                                              axiom_node_t *parent, 
                                              axiom_node_t *assertion);
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-oxs_saml_token_build_key_identifier_reference_remote(axutil_env_t *env, 
+oxs_saml_token_build_key_identifier_reference_remote(const axutil_env_t *env, 
                                              axiom_node_t *parent, 
                                              axiom_node_t *assertion, 
                                              axiom_node_t *auth_bind);
 
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-oxs_saml_token_build_embeded_reference(axutil_env_t *env, 
+oxs_saml_token_build_embeded_reference(const axutil_env_t *env, 
                                              axiom_node_t *parent, 
                                              axiom_node_t *assertion);
 
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-oxs_saml_token_get_from_key_identifer_reference(axutil_env_t *env, 
+oxs_saml_token_get_from_key_identifer_reference(const axutil_env_t *env, 
                                                     axiom_node_t *key_id,
                                                     axiom_node_t *scope);
 
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-oxs_saml_token_get_from_embeded_reference(axutil_env_t *env, 
+oxs_saml_token_get_from_embeded_reference(const axutil_env_t *env, 
                                                   axiom_node_t *embeded);
 
 
@@ -58,4 +58,5 @@
 #endif
 
 
-#endif 
\ No newline at end of file
+#endif 
+

Modified: webservices/rampart/trunk/c/include/rampart_config.h
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/rampart_config.h?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/include/rampart_config.h (original)
+++ webservices/rampart/trunk/c/include/rampart_config.h Thu Feb  7 23:31:01 
2008
@@ -95,7 +95,7 @@
 
        AXIS2_EXTERN int AXIS2_CALL
        rampart_config_add_saml_token(rampart_config_t *rampart_config, 
-                                                                 axutil_env_t 
*env, 
+                                                                 const 
axutil_env_t *env, 
                                                                  
rampart_saml_token_t *saml);
 
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
@@ -120,7 +120,7 @@
 
        AXIS2_EXTERN axutil_array_list_t * AXIS2_CALL
        rampart_config_get_saml_tokens(rampart_config_t *rampart_config, 
-                                                                 axutil_env_t 
*env);    
+                                                                 const 
axutil_env_t *env);    
     /*End of Getters */
 
 

Modified: webservices/rampart/trunk/c/include/rampart_saml.h
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/rampart_saml.h?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/include/rampart_saml.h (original)
+++ webservices/rampart/trunk/c/include/rampart_saml.h Thu Feb  7 23:31:01 2008
@@ -51,7 +51,7 @@
 #define RAMPART_SAML_FAULT_CODE                         "env:Sender"
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-rampart_saml_supporting_token_build(axutil_env_t *env, 
+rampart_saml_supporting_token_build(const axutil_env_t *env, 
                          rampart_context_t *rampart_context,                   
      
                          axiom_node_t *sec_node);
 
@@ -61,7 +61,7 @@
                             axiom_node_t *assertion);
 
 AXIS2_EXTERN char * AXIS2_CALL
-rampart_saml_token_get_subject_confirmation(axutil_env_t *env, 
+rampart_saml_token_get_subject_confirmation(const axutil_env_t *env, 
                                             axiom_node_t *assertion);
 
 /* SAML token proccessing faults */
@@ -81,16 +81,9 @@
 rampart_saml_token_fault_invalidsecuritytoken(axutil_env_t *env, 
                                                   axis2_msg_ctx_t *ctx);
 
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-rampart_saml_token_set_is_added_to_header(rampart_saml_token_t *tok, 
-                                      axutil_env_t *env,
-                                      axis2_bool_t is_token_added);
-
-AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-rampart_saml_token_is_added_to_header(rampart_saml_token_t *tok, 
-                                      axutil_env_t *env);
+
 #ifdef __cplusplus
 }
 #endif
 
-#endif    
\ No newline at end of file
+#endif    

Modified: webservices/rampart/trunk/c/include/rampart_saml_token.h
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/rampart_saml_token.h?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/include/rampart_saml_token.h (original)
+++ webservices/rampart/trunk/c/include/rampart_saml_token.h Thu Feb  7 
23:31:01 2008
@@ -45,57 +45,59 @@
 typedef struct rampart_saml_token_t rampart_saml_token_t;
 
 AXIS2_EXTERN rampart_saml_token_t *AXIS2_CALL
-rampart_saml_token_create(axutil_env_t *env, axiom_node_t *assertion, 
+rampart_saml_token_create(const axutil_env_t *env, axiom_node_t *assertion, 
                           rampart_st_confir_type_t type);
 
 AXIS2_EXTERN int AXIS2_CALL
-rampart_saml_token_free(rampart_saml_token_t *tok, axutil_env_t *env);
+rampart_saml_token_free(rampart_saml_token_t *tok, const axutil_env_t *env);
 
 AXIS2_EXTERN int AXIS2_CALL
-rampart_saml_token_set_assertion(rampart_saml_token_t *tok, axutil_env_t *env, 
+rampart_saml_token_set_assertion(rampart_saml_token_t *tok, const axutil_env_t 
*env, 
                                  axiom_node_t *assertion);
 
 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-rampart_saml_token_get_assertion(rampart_saml_token_t *tok, axutil_env_t *env);
+rampart_saml_token_get_assertion(rampart_saml_token_t *tok, const axutil_env_t 
*env);
 
 AXIS2_EXTERN int AXIS2_CALL
-rampart_saml_token_set_type(rampart_saml_token_t *tok, axutil_env_t *env, 
+rampart_saml_token_set_type(rampart_saml_token_t *tok, const axutil_env_t 
*env, 
                             rampart_st_confir_type_t type);
 
 AXIS2_EXTERN rampart_st_confir_type_t AXIS2_CALL
-rampart_saml_token_get_type(rampart_saml_token_t *tok, axutil_env_t *env);
+rampart_saml_token_get_type(rampart_saml_token_t *tok, const axutil_env_t 
*env);
 
 AXIS2_EXTERN int AXIS2_CALL
-rampart_saml_token_set_key_value(rampart_saml_token_t *tok, axutil_env_t *env, 
+rampart_saml_token_set_key_value(rampart_saml_token_t *tok, const axutil_env_t 
*env, 
                                  oxs_key_t *key);
 
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-rampart_saml_token_get_str(rampart_saml_token_t *tok, axutil_env_t *env);
+rampart_saml_token_get_str(rampart_saml_token_t *tok, const axutil_env_t *env);
 
 AXIS2_EXTERN int AXIS2_CALL
-rampart_saml_token_set_str(rampart_saml_token_t *tok, axutil_env_t *env, 
+rampart_saml_token_set_str(rampart_saml_token_t *tok, const axutil_env_t *env, 
                            axiom_node_t *str);
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
 rampart_saml_token_set_is_added_to_header(rampart_saml_token_t *tok, 
-                                      axutil_env_t *env,
+                                      const axutil_env_t *env,
                                       axis2_bool_t is_token_added);
 
 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
 rampart_saml_token_is_added_to_header(rampart_saml_token_t *tok, 
-                                      axutil_env_t *env);
+                                      const axutil_env_t *env);
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
 rampart_saml_token_set_token_type(rampart_saml_token_t *tok,
-                                                                 axutil_env_t 
*env,
+                                                                 const 
axutil_env_t *env,
                                                                  
rp_property_type_t token_type);
 
 AXIS2_EXTERN rp_property_type_t AXIS2_CALL
 rampart_saml_token_get_token_type(rampart_saml_token_t *tok,
-                                                                 axutil_env_t 
*env);
+                                                                 const 
axutil_env_t *env);
 #ifdef __cplusplus
 }
 #endif
 
 
-#endif 
\ No newline at end of file
+#endif 
+
+

Modified: webservices/rampart/trunk/c/src/omxmlsec/derivation.c
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/omxmlsec/derivation.c?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/omxmlsec/derivation.c (original)
+++ webservices/rampart/trunk/c/src/omxmlsec/derivation.c Thu Feb  7 23:31:01 
2008
@@ -186,8 +186,6 @@
     axiom_node_t *stre)
 {
     axiom_node_t *dk_token = NULL;
-    axiom_node_t *str_token = NULL;
-    axiom_node_t *ref_token = NULL;
     axiom_node_t *nonce_token = NULL;
     axiom_node_t *offset_token = NULL;
     axiom_node_t *length_token = NULL; 

Modified: webservices/rampart/trunk/c/src/omxmlsec/tokens/token_saml.c
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/omxmlsec/tokens/token_saml.c?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/omxmlsec/tokens/token_saml.c (original)
+++ webservices/rampart/trunk/c/src/omxmlsec/tokens/token_saml.c Thu Feb  7 
23:31:01 2008
@@ -19,7 +19,7 @@
 #include <oxs_axiom.h>
 
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-oxs_saml_token_build_key_identifier_reference_local(axutil_env_t *env, 
+oxs_saml_token_build_key_identifier_reference_local(const axutil_env_t *env, 
                                              axiom_node_t *parent, 
                                              axiom_node_t *assertion)
 {
@@ -45,7 +45,7 @@
 }
 
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-oxs_saml_token_build_key_identifier_reference_remote(axutil_env_t *env, 
+oxs_saml_token_build_key_identifier_reference_remote(const axutil_env_t *env, 
                                              axiom_node_t *parent, 
                                              axiom_node_t *assertion, 
                                              axiom_node_t *auth_bind)
@@ -78,7 +78,7 @@
 }
 
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-oxs_saml_token_build_embeded_reference(axutil_env_t *env, 
+oxs_saml_token_build_embeded_reference(const axutil_env_t *env, 
                                              axiom_node_t *parent, 
                                              axiom_node_t *assertion)
 {
@@ -108,7 +108,7 @@
 }
 
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-oxs_saml_token_get_from_key_identifer_reference(axutil_env_t *env, 
+oxs_saml_token_get_from_key_identifer_reference(const axutil_env_t *env, 
                                                 axiom_node_t *key_id,
                                                 axiom_node_t *scope)
 {
@@ -152,7 +152,7 @@
 
 
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-oxs_saml_token_get_from_embeded_reference(axutil_env_t *env, 
+oxs_saml_token_get_from_embeded_reference(const axutil_env_t *env, 
                                                   axiom_node_t *embeded)
 {
     axiom_node_t *assertion = NULL;
@@ -171,4 +171,5 @@
                "[oxs][saml token] SAML Token cannot be found.");    
     }
     return assertion;
-}
\ No newline at end of file
+}
+

Modified: webservices/rampart/trunk/c/src/omxmlsec/tokens/token_transform.c
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/omxmlsec/tokens/token_transform.c?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/omxmlsec/tokens/token_transform.c (original)
+++ webservices/rampart/trunk/c/src/omxmlsec/tokens/token_transform.c Thu Feb  
7 23:31:01 2008
@@ -31,7 +31,7 @@
 {
     axiom_node_t *transform_node = NULL, *tr_para_node = NULL, *tr_can_node = 
NULL;
     axiom_element_t *transform_ele = NULL, *tr_para_ele = NULL, *tr_can_ele = 
NULL;
-    axiom_attribute_t *algo_attr = NULL, *can_algo_attr = NULL;
+    axiom_attribute_t *algo_attr = NULL;
     int ret;
     axiom_namespace_t *ns_obj = NULL;
 

Modified: webservices/rampart/trunk/c/src/omxmlsec/transforms_factory.c
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/omxmlsec/transforms_factory.c?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/omxmlsec/transforms_factory.c (original)
+++ webservices/rampart/trunk/c/src/omxmlsec/transforms_factory.c Thu Feb  7 
23:31:01 2008
@@ -58,7 +58,6 @@
                         oxs_tr_dtype_t input_dtype,
                         void **output)
 {         
-    oxs_tr_dtype_t output_dtype = OXS_TRANSFORM_TYPE_UNKNOWN;
        axiom_node_t *sig_node = NULL, *child_node = NULL;
 
     if(input_dtype != OXS_TRANSFORM_TYPE_NODE){

Modified: webservices/rampart/trunk/c/src/util/rampart_config.c
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_config.c?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_config.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_config.c Thu Feb  7 23:31:01 
2008
@@ -170,7 +170,7 @@
 
 AXIS2_EXTERN int AXIS2_CALL
 rampart_config_add_saml_token(rampart_config_t *rampart_config, 
-                              axutil_env_t *env, 
+                              const axutil_env_t *env, 
                               rampart_saml_token_t *saml)
 {
        if (!rampart_config->saml_tokens)
@@ -187,7 +187,7 @@
 
 AXIS2_EXTERN axutil_array_list_t * AXIS2_CALL
 rampart_config_get_saml_tokens(rampart_config_t *rampart_config, 
-                              axutil_env_t *env)                         
+                              const axutil_env_t *env)                         
 {
     return rampart_config->saml_tokens;
-}
\ No newline at end of file
+}

Modified: webservices/rampart/trunk/c/src/util/rampart_context.c
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_context.c?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_context.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_context.c Thu Feb  7 23:31:01 
2008
@@ -1636,8 +1636,6 @@
             {
                 if(rp_property_get_type(token,env) == RP_PROPERTY_SAML_TOKEN)
                 {
-                    rp_saml_token_t *saml_token =
-                        (rp_saml_token_t *)rp_property_get_value(token, env);
                     bvalidate = rampart_context_is_token_include(
                                         rampart_context, token, 
                                         RP_PROPERTY_SAML_TOKEN, server_side, 
@@ -2641,4 +2639,6 @@
        }
        rampart_context->saml_tokens = tokens;
        return AXIS2_SUCCESS;
-}
\ No newline at end of file
+}
+
+

Modified: webservices/rampart/trunk/c/src/util/rampart_saml.c
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_saml.c?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_saml.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_saml.c Thu Feb  7 23:31:01 2008
@@ -19,7 +19,7 @@
 #include <rp_property.h>
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
-rampart_saml_supporting_token_build(axutil_env_t *env, 
+rampart_saml_supporting_token_build(const axutil_env_t *env, 
                          rampart_context_t *rampart_context,                   
      
                          axiom_node_t *sec_node)
 {
@@ -60,7 +60,7 @@
 }
 
 AXIS2_EXTERN char * AXIS2_CALL
-rampart_saml_token_get_subject_confirmation(axutil_env_t *env, axiom_node_t 
*assertion)
+rampart_saml_token_get_subject_confirmation(const axutil_env_t *env, 
axiom_node_t *assertion)
 {
     axiom_node_t *node = oxs_axiom_get_node_by_local_name(env, assertion, 
OXS_NODE_SAML_SUBJECT_CONFIRMATION_METHOD);
     if (node) 

Modified: webservices/rampart/trunk/c/src/util/rampart_saml_token.c
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_saml_token.c?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_saml_token.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_saml_token.c Thu Feb  7 
23:31:01 2008
@@ -41,7 +41,7 @@
 };
 
 AXIS2_EXTERN rampart_saml_token_t *AXIS2_CALL
-rampart_saml_token_create(axutil_env_t *env, axiom_node_t *assertion, 
+rampart_saml_token_create(const axutil_env_t *env, axiom_node_t *assertion, 
                           rampart_st_confir_type_t type)
 {
        rampart_saml_token_t *tok = AXIS2_MALLOC(env->allocator, 
@@ -59,7 +59,7 @@
 }
 
 AXIS2_EXTERN int AXIS2_CALL
-rampart_saml_token_free(rampart_saml_token_t *tok, axutil_env_t *env)
+rampart_saml_token_free(rampart_saml_token_t *tok, const axutil_env_t *env)
 {      
     if (tok->key)
     {
@@ -70,7 +70,7 @@
 }
 
 AXIS2_EXTERN int AXIS2_CALL
-rampart_saml_token_set_assertion(rampart_saml_token_t *tok, axutil_env_t *env, 
+rampart_saml_token_set_assertion(rampart_saml_token_t *tok, const axutil_env_t 
*env, 
                                  axiom_node_t *assertion)
 {
        tok->assertion = assertion;
@@ -78,13 +78,13 @@
 }
 
 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-rampart_saml_token_get_assertion(rampart_saml_token_t *tok, axutil_env_t *env)
+rampart_saml_token_get_assertion(rampart_saml_token_t *tok, const axutil_env_t 
*env)
 {
        return tok->assertion;
 }
 
 AXIS2_EXTERN int AXIS2_CALL
-rampart_saml_token_set_type(rampart_saml_token_t *tok, axutil_env_t *env, 
+rampart_saml_token_set_type(rampart_saml_token_t *tok, const axutil_env_t 
*env, 
                             rampart_st_confir_type_t type)
 {
        tok->type = type;
@@ -92,14 +92,14 @@
 }
 
 AXIS2_EXTERN rampart_st_confir_type_t AXIS2_CALL
-rampart_saml_token_get_type(rampart_saml_token_t *tok, axutil_env_t *env)
+rampart_saml_token_get_type(rampart_saml_token_t *tok, const axutil_env_t *env)
 {
        return tok->type;
 }
 
 AXIS2_EXTERN int AXIS2_CALL
 rampart_saml_token_set_key_value(rampart_saml_token_t *tok, 
-                                 axutil_env_t *env, 
+                                 const axutil_env_t *env, 
                                  oxs_key_t *key)
 {
        if (tok->key)
@@ -111,7 +111,7 @@
 }
 
 AXIS2_EXTERN int AXIS2_CALL
-rampart_saml_token_set_str(rampart_saml_token_t *tok, axutil_env_t *env, 
+rampart_saml_token_set_str(rampart_saml_token_t *tok, const axutil_env_t *env, 
                            axiom_node_t *str)
 {
     if (tok->str)
@@ -124,20 +124,20 @@
 }
 
 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
-rampart_saml_token_get_str(rampart_saml_token_t *tok, axutil_env_t *env)
+rampart_saml_token_get_str(rampart_saml_token_t *tok, const axutil_env_t *env)
 {
     return tok->str;
 }
 
 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-rampart_saml_token_is_added_to_header(rampart_saml_token_t *tok, axutil_env_t 
*env)
+rampart_saml_token_is_added_to_header(rampart_saml_token_t *tok, const 
axutil_env_t *env)
 {
     return tok->is_token_added;
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
 rampart_saml_token_set_is_added_to_header(rampart_saml_token_t *tok, 
-                                      axutil_env_t *env,
+                                      const axutil_env_t *env,
                                       axis2_bool_t is_token_added)
 {
     tok->is_token_added = is_token_added;
@@ -146,14 +146,14 @@
 
 AXIS2_EXTERN rp_property_type_t AXIS2_CALL
 rampart_saml_token_get_token_type(rampart_saml_token_t *tok,
-                                                                 axutil_env_t 
*env)
+                                                                 const 
axutil_env_t *env)
 {
        return tok->token_type;
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
 rampart_saml_token_set_token_type(rampart_saml_token_t *tok,
-                                                                 axutil_env_t 
*env,
+                                                                 const 
axutil_env_t *env,
                                                                  
rp_property_type_t token_type)
 {
        tok->token_type = token_type;

Modified: webservices/rampart/trunk/c/src/util/rampart_signature.c
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_signature.c?rev=619791&r1=619790&r2=619791&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_signature.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_signature.c Thu Feb  7 
23:31:01 2008
@@ -53,7 +53,7 @@
                                axis2_char_t *cert_id);
 
 axutil_array_list_t * AXIS2_CALL
-rampart_sig_create_sign_parts(axutil_env_t *env,
+rampart_sig_create_sign_parts(const axutil_env_t *env,
                               rampart_context_t *rampart_context, 
                               axutil_array_list_t *nodes_to_sign,
                               axis2_bool_t server_side);
@@ -460,7 +460,6 @@
 {
     axutil_array_list_t *nodes_to_sign = NULL;
     axis2_status_t status = AXIS2_FAILURE;
-    axis2_char_t *digest_method = NULL;
     oxs_sign_ctx_t *sign_ctx = NULL;
     axutil_array_list_t *sign_parts = NULL;
     /*axutil_array_list_t *tr_list = NULL;*/
@@ -471,7 +470,6 @@
     axiom_node_t *sig_node = NULL;
     axis2_char_t *eki = NULL;
     axis2_bool_t is_direct_reference = AXIS2_TRUE, include = AXIS2_FALSE;
-    int i = 0;
     axis2_char_t *cert_id = NULL;
 
     /*Get nodes to be signed*/
@@ -772,7 +770,7 @@
 }
 
 axutil_array_list_t * AXIS2_CALL
-rampart_sig_create_sign_parts(axutil_env_t *env, 
+rampart_sig_create_sign_parts(const axutil_env_t *env, 
                               rampart_context_t *rampart_context, 
                               axutil_array_list_t *nodes_to_sign, 
                               axis2_bool_t server_side)


Reply via email to