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 2007/09/06 11:04:56 UTC
svn commit: r573190 - in /webservices/rampart/trunk/c:
include/openssl_pkey.h src/omxmlsec/tokens/token_reference_list.c
src/omxmlsec/tokens/token_security_token_reference.c
Author: kaushalye
Date: Thu Sep 6 02:04:55 2007
New Revision: 573190
URL: http://svn.apache.org/viewvc?rev=573190&view=rev
Log:
Fixing windows build break
Modified:
webservices/rampart/trunk/c/include/openssl_pkey.h
webservices/rampart/trunk/c/src/omxmlsec/tokens/token_reference_list.c
webservices/rampart/trunk/c/src/omxmlsec/tokens/token_security_token_reference.c
Modified: webservices/rampart/trunk/c/include/openssl_pkey.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/openssl_pkey.h?rev=573190&r1=573189&r2=573190&view=diff
==============================================================================
--- webservices/rampart/trunk/c/include/openssl_pkey.h (original)
+++ webservices/rampart/trunk/c/include/openssl_pkey.h Thu Sep 6 02:04:55 2007
@@ -118,6 +118,10 @@
const axutil_env_t *env
);
+ axis2_status_t AXIS2_CALL
+ openssl_pkey_increment_ref(
+ openssl_pkey_t *pkey,
+ const axutil_env_t *env);
/*Create function*/
AXIS2_EXTERN openssl_pkey_t *AXIS2_CALL
openssl_pkey_create(const axutil_env_t *env);
Modified: webservices/rampart/trunk/c/src/omxmlsec/tokens/token_reference_list.c
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/omxmlsec/tokens/token_reference_list.c?rev=573190&r1=573189&r2=573190&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/omxmlsec/tokens/token_reference_list.c (original)
+++ webservices/rampart/trunk/c/src/omxmlsec/tokens/token_reference_list.c Thu Sep 6 02:04:55 2007
@@ -71,6 +71,7 @@
if(!data_ref_node) {return AXIS2_FAILURE;}
+
}
return AXIS2_SUCCESS;
}
Modified: webservices/rampart/trunk/c/src/omxmlsec/tokens/token_security_token_reference.c
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/omxmlsec/tokens/token_security_token_reference.c?rev=573190&r1=573189&r2=573190&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/omxmlsec/tokens/token_security_token_reference.c (original)
+++ webservices/rampart/trunk/c/src/omxmlsec/tokens/token_security_token_reference.c Thu Sep 6 02:04:55 2007
@@ -35,11 +35,11 @@
ns_obj = axiom_namespace_create(env, OXS_WSSE_XMLNS,
OXS_WSSE);
- /* We especially pass parent=NULL in order to add WSSE namespace to the SECURITY_TOKEN_REFRENCE node.
+ /* We especially pass parent=NULL in order to add WSSE namespace to the SECURITY_TOKEN_REFRENCE node.
* Otherwise if we encrypt the signature , the dercyption fails to build the node as the namespace is not within the doc*/
security_token_reference_ele = axiom_element_create(env, NULL, OXS_NODE_SECURITY_TOKEN_REFRENCE, ns_obj, &security_token_reference_node);
axiom_node_add_child(parent, env, security_token_reference_node);
-
+
if (!security_token_reference_ele)
{
oxs_error(env, ERROR_LOCATION,