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 mi...@apache.org on 2008/04/04 07:31:31 UTC
svn commit: r644613 - in /webservices/rampart/scratch/c/pkcs/c:
include/oxs_key_mgr.h src/omxmlsec/key_mgr.c src/util/rampart_encryption.c
src/util/rampart_engine.c src/util/rampart_sec_header_processor.c
Author: milinda
Date: Thu Apr 3 22:31:30 2008
New Revision: 644613
URL: http://svn.apache.org/viewvc?rev=644613&view=rev
Log:
Fix some typos.
Modified:
webservices/rampart/scratch/c/pkcs/c/include/oxs_key_mgr.h
webservices/rampart/scratch/c/pkcs/c/src/omxmlsec/key_mgr.c
webservices/rampart/scratch/c/pkcs/c/src/util/rampart_encryption.c
webservices/rampart/scratch/c/pkcs/c/src/util/rampart_engine.c
webservices/rampart/scratch/c/pkcs/c/src/util/rampart_sec_header_processor.c
Modified: webservices/rampart/scratch/c/pkcs/c/include/oxs_key_mgr.h
URL: http://svn.apache.org/viewvc/webservices/rampart/scratch/c/pkcs/c/include/oxs_key_mgr.h?rev=644613&r1=644612&r2=644613&view=diff
==============================================================================
--- webservices/rampart/scratch/c/pkcs/c/include/oxs_key_mgr.h (original)
+++ webservices/rampart/scratch/c/pkcs/c/include/oxs_key_mgr.h Thu Apr 3 22:31:30 2008
@@ -135,11 +135,11 @@
AXIS2_EXTERN oxs_key_mgr_t * AXIS2_CALL
- oxs_key_mgr_create(axutil_env_t *env);
+ oxs_key_mgr_create(const axutil_env_t *env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_key_mgr_free(oxs_key_mgr_t *key_mgr,
- axutil_env_t *env);
+ const axutil_env_t *env);
AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_key_mgr_set_prv_key_password(
Modified: webservices/rampart/scratch/c/pkcs/c/src/omxmlsec/key_mgr.c
URL: http://svn.apache.org/viewvc/webservices/rampart/scratch/c/pkcs/c/src/omxmlsec/key_mgr.c?rev=644613&r1=644612&r2=644613&view=diff
==============================================================================
--- webservices/rampart/scratch/c/pkcs/c/src/omxmlsec/key_mgr.c (original)
+++ webservices/rampart/scratch/c/pkcs/c/src/omxmlsec/key_mgr.c Thu Apr 3 22:31:30 2008
@@ -65,7 +65,7 @@
};
AXIS2_EXTERN oxs_key_mgr_t * AXIS2_CALL
-oxs_key_mgr_create(axutil_env_t *env)
+oxs_key_mgr_create(const axutil_env_t *env)
{
oxs_key_mgr_t *key_mgr = NULL;
key_mgr = AXIS2_MALLOC(env->allocator, sizeof(oxs_key_mgr_t));
@@ -90,7 +90,7 @@
AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_key_mgr_free(oxs_key_mgr_t *key_mgr, axutil_env_t *env)
+oxs_key_mgr_free(oxs_key_mgr_t *key_mgr, const axutil_env_t *env)
{
if(key_mgr->certificate)
{
Modified: webservices/rampart/scratch/c/pkcs/c/src/util/rampart_encryption.c
URL: http://svn.apache.org/viewvc/webservices/rampart/scratch/c/pkcs/c/src/util/rampart_encryption.c?rev=644613&r1=644612&r2=644613&view=diff
==============================================================================
--- webservices/rampart/scratch/c/pkcs/c/src/util/rampart_encryption.c (original)
+++ webservices/rampart/scratch/c/pkcs/c/src/util/rampart_encryption.c Thu Apr 3 22:31:30 2008
@@ -81,14 +81,9 @@
axis2_bool_t server_side = AXIS2_FALSE;
rp_property_t *token = NULL;
rp_property_type_t token_type;
- rampart_callback_t *password_callback = NULL;
- password_callback_fn password_function = NULL;
axis2_char_t *eki = NULL;
void *key_buf = NULL;
- void *param = NULL;
axis2_char_t *certificate_file = NULL;
- axis2_char_t *password = NULL;
- axis2_char_t *enc_user = NULL;
oxs_key_mgr_t *key_mgr = NULL;
oxs_x509_cert_t *certificate = NULL;
token = rampart_context_get_token(rampart_context, env,
Modified: webservices/rampart/scratch/c/pkcs/c/src/util/rampart_engine.c
URL: http://svn.apache.org/viewvc/webservices/rampart/scratch/c/pkcs/c/src/util/rampart_engine.c?rev=644613&r1=644612&r2=644613&view=diff
==============================================================================
--- webservices/rampart/scratch/c/pkcs/c/src/util/rampart_engine.c (original)
+++ webservices/rampart/scratch/c/pkcs/c/src/util/rampart_engine.c Thu Apr 3 22:31:30 2008
@@ -55,7 +55,7 @@
axis2_status_t AXIS2_CALL
rampart_engine_retrieve_key_mgr_prop_from_policy(
rampart_context_t *rampart_context,
- axutil_env_t *env);
+ const axutil_env_t *env);
AXIS2_EXTERN rampart_context_t *AXIS2_CALL
@@ -447,7 +447,7 @@
axis2_status_t AXIS2_CALL
rampart_engine_retrieve_key_mgr_prop_from_policy(rampart_context_t *rampart_context,
- axutil_env_t *env)
+ const axutil_env_t *env)
{
axis2_char_t *value = NULL;
rp_rampart_config_t *config = NULL;
Modified: webservices/rampart/scratch/c/pkcs/c/src/util/rampart_sec_header_processor.c
URL: http://svn.apache.org/viewvc/webservices/rampart/scratch/c/pkcs/c/src/util/rampart_sec_header_processor.c?rev=644613&r1=644612&r2=644613&view=diff
==============================================================================
--- webservices/rampart/scratch/c/pkcs/c/src/util/rampart_sec_header_processor.c (original)
+++ webservices/rampart/scratch/c/pkcs/c/src/util/rampart_sec_header_processor.c Thu Apr 3 22:31:30 2008
@@ -580,17 +580,12 @@
axutil_array_list_t *reference_list = NULL;
axis2_char_t *enc_asym_algo = NULL;
axis2_char_t *prv_key_file = NULL;
- axis2_char_t *password = NULL;
- axis2_char_t *enc_user = NULL;
- rampart_callback_t *password_callback = NULL;
axis2_status_t status = AXIS2_FAILURE;
oxs_asym_ctx_t *asym_ctx = NULL;
oxs_key_t *decrypted_sym_key = NULL;
oxs_key_mgr_t *key_mgr = NULL;
axis2_char_t *enc_asym_algo_in_pol = NULL;
axis2_char_t *enc_sym_algo_in_pol = NULL;
- password_callback_fn password_function = NULL;
- void *param = NULL;
int i = 0;
void *key_buf = NULL;