You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by ka...@apache.org on 2008/02/13 13:11:37 UTC

svn commit: r627370 - in /webservices/rampart/trunk/c: configure.ac samples/server/sec_echo/echo.c src/secconv/sct_provider.c src/trust/policy_util.c

Author: kaushalye
Date: Wed Feb 13 04:11:31 2008
New Revision: 627370

URL: http://svn.apache.org/viewvc?rev=627370&view=rev
Log:
1. Fixing build failure in sec_conv and trust
2. modifying configure file to get axis2c 1.3.0 headers

Modified:
    webservices/rampart/trunk/c/configure.ac
    webservices/rampart/trunk/c/samples/server/sec_echo/echo.c
    webservices/rampart/trunk/c/src/secconv/sct_provider.c
    webservices/rampart/trunk/c/src/trust/policy_util.c

Modified: webservices/rampart/trunk/c/configure.ac
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/configure.ac?rev=627370&r1=627369&r2=627370&view=diff
==============================================================================
--- webservices/rampart/trunk/c/configure.ac (original)
+++ webservices/rampart/trunk/c/configure.ac Wed Feb 13 04:11:31 2008
@@ -80,8 +80,8 @@
     if test -d $withval; then
         axis2inc="-I$withval"
     dnl else find the axis2inc include dir in $(AXIS2C_HOME)/include
-    elif test -d '$(AXIS2C_HOME)/include/axis2-1.2'; then
-        axis2inc="-I$(AXIS2C_HOME)/include/axis2-1.2"
+    elif test -d '$(AXIS2C_HOME)/include/axis2-1.3.0'; then
+        axis2inc="-I$(AXIS2C_HOME)/include/axis2-1.3.0"
     else
         AC_MSG_ERROR(could not find axis2inc. stop)
     fi

Modified: webservices/rampart/trunk/c/samples/server/sec_echo/echo.c
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/server/sec_echo/echo.c?rev=627370&r1=627369&r2=627370&view=diff
==============================================================================
--- webservices/rampart/trunk/c/samples/server/sec_echo/echo.c (original)
+++ webservices/rampart/trunk/c/samples/server/sec_echo/echo.c Wed Feb 13 04:11:31 2008
@@ -39,7 +39,7 @@
     username = (axis2_char_t*)rampart_get_security_processed_result(env, msg_ctx, "SPR_UT_username");
     printf("Username of the Token is = %s ", username);
     }
-*/    
+*/   
     ret_node = build_om_programatically(env, name);
     return ret_node;
 }

Modified: webservices/rampart/trunk/c/src/secconv/sct_provider.c
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/secconv/sct_provider.c?rev=627370&r1=627369&r2=627370&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/secconv/sct_provider.c (original)
+++ webservices/rampart/trunk/c/src/secconv/sct_provider.c Wed Feb 13 04:11:31 2008
@@ -137,7 +137,7 @@
 sct_provider_sct_db_free(axutil_hash_t *sct_db,
                      const axutil_env_t *env)
 {
-	axutil_hash_t *attr_hash = NULL;
+	/*axutil_hash_t *attr_hash = NULL;*/
 	axutil_hash_index_t *hi = NULL;
 
 	for (hi = axutil_hash_first(sct_db, env); hi != NULL; hi = axutil_hash_next(env, hi))

Modified: webservices/rampart/trunk/c/src/trust/policy_util.c
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/trust/policy_util.c?rev=627370&r1=627369&r2=627370&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/trust/policy_util.c (original)
+++ webservices/rampart/trunk/c/src/trust/policy_util.c Wed Feb 13 04:11:31 2008
@@ -49,7 +49,7 @@
     AXIS2_ENV_CHECK(env, NULL);
 
 	if(!*secpolicy)
-		secpolicy = rp_secpolicy_builder_build(env, policy);
+		*secpolicy = rp_secpolicy_builder_build(env, policy);
     if (!*secpolicy)
     {
         return NULL;