type corrected
authorTobias Brunner <tobias@strongswan.org>
Fri, 18 Apr 2008 10:11:41 +0000 (10:11 -0000)
committerTobias Brunner <tobias@strongswan.org>
Fri, 18 Apr 2008 10:11:41 +0000 (10:11 -0000)
src/charon/credentials/credential_manager.c
src/charon/credentials/credential_manager.h

index 022db6a..4bc65a8 100644 (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;
index 0848f5f..828312f 100644 (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.
         *