You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ka...@apache.org on 2007/03/15 11:37:44 UTC
svn commit: r518568 - in /webservices/axis2/trunk/c/rampart:
include/oxs_ctx.h include/oxs_key.h src/omxmlsec/sign_part.c
Author: kaushalye
Date: Thu Mar 15 03:37:33 2007
New Revision: 518568
URL: http://svn.apache.org/viewvc?view=rev&rev=518568
Log:
Code improvement in Rampart
Modified:
webservices/axis2/trunk/c/rampart/include/oxs_ctx.h
webservices/axis2/trunk/c/rampart/include/oxs_key.h
webservices/axis2/trunk/c/rampart/src/omxmlsec/sign_part.c
Modified: webservices/axis2/trunk/c/rampart/include/oxs_ctx.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_ctx.h?view=diff&rev=518568&r1=518567&r2=518568
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_ctx.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_ctx.h Thu Mar 15 03:37:33 2007
@@ -40,11 +40,12 @@
* @{
*/
+/*TODO We need to change the name oxs_ctx -> oxs_sym_ctx.
+ * The name is sounds too generic as there is another oxs_asym_ctx.
+ * */
typedef enum {
OXS_CTX_OPERATION_NONE = 0,
- OXS_CTX_OPERATION_SIGN,
- OXS_CTX_OPERATION_VERIFY,
OXS_CTX_OPERATION_ENCRYPT,
OXS_CTX_OPERATION_DECRYPT
} oxs_ctx_operation_t;
Modified: webservices/axis2/trunk/c/rampart/include/oxs_key.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_key.h?view=diff&rev=518568&r1=518567&r2=518568
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_key.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_key.h Thu Mar 15 03:37:33 2007
@@ -21,7 +21,7 @@
/**
* @file oxs_key.h
- * @brief
+ * @brief represents a Key in OMXMLSecurity
*/
#include <axis2_defines.h>
Modified: webservices/axis2/trunk/c/rampart/src/omxmlsec/sign_part.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/omxmlsec/sign_part.c?view=diff&rev=518568&r1=518567&r2=518568
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/omxmlsec/sign_part.c (original)
+++ webservices/axis2/trunk/c/rampart/src/omxmlsec/sign_part.c Thu Mar 15 03:37:33 2007
@@ -161,6 +161,7 @@
sign_part->id= NULL;
sign_part->digest_mtd = NULL;
+ sign_part->digest_val = NULL;
sign_part->node = NULL;
sign_part->transforms = NULL;
@@ -185,6 +186,12 @@
{
AXIS2_FREE(env->allocator, sign_part->digest_mtd);
sign_part->digest_mtd = NULL;
+ }
+
+ if (sign_part->digest_val)
+ {
+ AXIS2_FREE(env->allocator, sign_part->digest_val);
+ sign_part->digest_val = NULL;
}
sign_part->node = NULL;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org