Author: kaushalye
Date: Thu May 10 02:52:58 2007
New Revision: 536803
URL: http://svn.apache.org/viewvc?view=rev&rev=536803
Log:
Memory alloc issue fixed in C14N. Plus some minor changes
Modified:
webservices/rampart/trunk/c/samples/client/sec_echo/data/client.axis2.xml
webservices/rampart/trunk/c/samples/client/sec_echo/deploy_client_repo.sh
webservices/rampart/trunk/c/samples/server/sec_echo/services.xml
webservices/rampart/trunk/c/src/omxmlsec/c14n/sorted_list.c
webservices/rampart/trunk/c/xdocs/docs/installationguide.html
Modified:
webservices/rampart/trunk/c/samples/client/sec_echo/data/client.axis2.xml
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/client/sec_echo/data/client.axis2.xml?view=diff&rev=536803&r1=536802&r2=536803
==============================================================================
--- webservices/rampart/trunk/c/samples/client/sec_echo/data/client.axis2.xml
(original)
+++ webservices/rampart/trunk/c/samples/client/sec_echo/data/client.axis2.xml
Thu May 10 02:52:58 2007
@@ -16,8 +16,8 @@
<!--Rampart configurations START -->
- <parameter
name="OutflowSecurityPolicy">/home/AXIS2_USER/axis2/c/deploy/client_repo/outgoing-secpolicy.xml</parameter>
- <parameter
name="InflowSecurityPolicy">/home/AXIS2_USER/axis2/c/deploy/client_repo/incoming-secpolicy.xml</parameter>
+ <parameter
name="OutflowSecurityPolicy">AXIS2C_HOME/client_repo/outgoing-secpolicy.xml</parameter>
+ <parameter
name="InflowSecurityPolicy">AXIS2C_HOME/client_repo/incoming-secpolicy.xml</parameter>
<!--Rampart configurations END -->
Modified:
webservices/rampart/trunk/c/samples/client/sec_echo/deploy_client_repo.sh
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/client/sec_echo/deploy_client_repo.sh?view=diff&rev=536803&r1=536802&r2=536803
==============================================================================
--- webservices/rampart/trunk/c/samples/client/sec_echo/deploy_client_repo.sh
(original)
+++ webservices/rampart/trunk/c/samples/client/sec_echo/deploy_client_repo.sh
Thu May 10 02:52:58 2007
@@ -25,7 +25,7 @@
echo "Copying latest modules to $CLIENT_REPO"
cp -r $AXIS2C_HOME/modules $CLIENT_REPO/
-sed -i 's/AXIS2_USER/'$USER'/g' $CLIENT_REPO/axis2.xml
-sed -i 's/AXIS2_USER/'$USER'/g' $SERVICE_HOME/services.xml
+sed -i 's,AXIS2C_HOME,'$AXIS2C_HOME',g' $CLIENT_REPO/axis2.xml
+sed -i 's,AXIS2C_HOME,'$AXIS2C_HOME',g' $SERVICE_HOME/services.xml
echo "WARNING: Make sure that you have correct configurations in
sec_echo/services.xml and $CLIENT_REPO/axis2.xml file."
Modified: webservices/rampart/trunk/c/samples/server/sec_echo/services.xml
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/samples/server/sec_echo/services.xml?view=diff&rev=536803&r1=536802&r2=536803
==============================================================================
--- webservices/rampart/trunk/c/samples/server/sec_echo/services.xml (original)
+++ webservices/rampart/trunk/c/samples/server/sec_echo/services.xml Thu May 10
02:52:58 2007
@@ -6,8 +6,8 @@
</description>
<!--Rampart configurations START -->
<module ref="rampart"/>
- <parameter
name="OutflowSecurityPolicy">/home/AXIS2_USER/axis2/c/deploy/services/sec_echo/outgoing-secpolicy.xml</parameter>
- <parameter
name="InflowSecurityPolicy">/home/AXIS2_USER/axis2/c/deploy/services/sec_echo/incoming-secpolicy.xml</parameter>
+ <parameter
name="OutflowSecurityPolicy">AXIS2C_HOME/services/sec_echo/outgoing-secpolicy.xml</parameter>
+ <parameter
name="InflowSecurityPolicy">AXIS2C_HOME/services/sec_echo/incoming-secpolicy.xml</parameter>
<!--Rampart configurations END -->
Modified: webservices/rampart/trunk/c/src/omxmlsec/c14n/sorted_list.c
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/omxmlsec/c14n/sorted_list.c?view=diff&rev=536803&r1=536802&r2=536803
==============================================================================
--- webservices/rampart/trunk/c/src/omxmlsec/c14n/sorted_list.c (original)
+++ webservices/rampart/trunk/c/src/omxmlsec/c14n/sorted_list.c Thu May 10
02:52:58 2007
@@ -52,7 +52,7 @@
)
{
if(!(*node)) {
- *node = (c14n_sorted_list_t *) malloc(sizeof(node));
+ *node = (c14n_sorted_list_t *) malloc(sizeof(**node));
(*node)->left = (*node)->right = NULL;
(*node)->val = val;
return;
Modified: webservices/rampart/trunk/c/xdocs/docs/installationguide.html
URL:
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/xdocs/docs/installationguide.html?view=diff&rev=536803&r1=536802&r2=536803
==============================================================================
--- webservices/rampart/trunk/c/xdocs/docs/installationguide.html (original)
+++ webservices/rampart/trunk/c/xdocs/docs/installationguide.html Thu May 10
02:52:58 2007
@@ -12,7 +12,7 @@
<h1>Apache Rampart/C Installation Guide</h1>
<p>This document guides you on how to install Rampart/C.</p>
-<p>You must have <a href="http://www.openssl.org">OpenSSL</a> installed in you
system.</p>
+<p>You must have <a href="http://www.openssl.org">OpenSSL</a> 0.9.8 (or above)
installed in you system.</p>
<p>This release comes in two forms, source and binary. This document covers
both forms.</p>
@@ -152,17 +152,17 @@
<li>cd C:\rampartc\build\win32</li>
<li>to access .Net tools, run
<ul>
- <li>C:\rampartc\build\win32< vcvars32.bat</li>
+ <li>C:\rampartc\build\win32 > vcvars32.bat</li>
</ul>
<p>(<strong>Note</strong>: You may have to set the PATH environment
variable to vcvars32.bat if MS Windows gives an error indicating that it
- cannot find this batch file. This file is located in >your MS Visual
- Studio install Directory<\VC\bin directory.)</p>
+ cannot find this batch file. This file is located in <your MS Visual
+ Studio install Directory>\VC\bin directory.)</p>
</li>
<li>To build the system and create the binary files in a directory named
deploy under the build directory,
<ul>
- <li>C:\rampartc\build\win32<nmake install</li>
+ <li>C:\rampartc\build\win32>nmake install</li>
</ul>
</li>
<li>Engage Rampart/C as specified in the section <a href="#engage">Engage
Rampart/C with Axis2/C</a>