type corrected

This commit is contained in:
Tobias Brunner
2008-04-18 10:11:41 +00:00
parent 58caabf7b4
commit ab7ed97c93
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -236,7 +236,7 @@ static enumerator_t *create_cdp(credential_set_t *set, cdp_data_t *data)
* Implementation of credential_manager_t.create_cdp_enumerator.
*/
static enumerator_t * create_cdp_enumerator(private_credential_manager_t *this,
credential_type_t type, identification_t *id)
certificate_type_t type, identification_t *id)
{
cdp_data_t *data = malloc_thing(cdp_data_t);
data->this = this;
@@ -1516,7 +1516,7 @@ credential_manager_t *credential_manager_create()
this->public.create_cert_enumerator = (enumerator_t *(*)(credential_manager_t *this,certificate_type_t cert, key_type_t key,identification_t *id,bool))create_cert_enumerator;
this->public.create_shared_enumerator = (enumerator_t *(*)(credential_manager_t *this, shared_key_type_t type,identification_t *me, identification_t *other))create_shared_enumerator;
this->public.create_cdp_enumerator = (enumerator_t *(*)(credential_manager_t*, credential_type_t type, identification_t *id))create_cdp_enumerator;
this->public.create_cdp_enumerator = (enumerator_t *(*)(credential_manager_t*, certificate_type_t type, identification_t *id))create_cdp_enumerator;
this->public.get_cert = (certificate_t *(*)(credential_manager_t *this,certificate_type_t cert, key_type_t key,identification_t *, bool))get_cert;
this->public.get_shared = (shared_key_t *(*)(credential_manager_t *this,shared_key_type_t type,identification_t *me, identification_t *other))get_shared;
this->public.get_private = (private_key_t*(*)(credential_manager_t*, key_type_t type, identification_t *, auth_info_t*))get_private;
+1 -1
View File
@@ -103,7 +103,7 @@ struct credential_manager_t {
* @return enumerator of CDPs as char*
*/
enumerator_t *(*create_cdp_enumerator)(credential_manager_t *this,
credential_type_t type, identification_t *id);
certificate_type_t type, identification_t *id);
/**
* Get a trusted or untrusted certificate.
*