IKEv1 XAuth: Remove XAuth task from the passive task list for ID_PROT.
authorClavister OpenSource <opensource@clavister.com>
Tue, 29 Nov 2011 10:36:53 +0000 (11:36 +0100)
committerClavister OpenSource <opensource@clavister.com>
Tue, 20 Mar 2012 16:31:09 +0000 (17:31 +0100)
src/libcharon/sa/task_manager_v1.c

index 86832f7..915644b 100644 (file)
@@ -496,8 +496,6 @@ static status_t process_request(private_task_manager_t *this,
                                this->passive_tasks->insert_last(this->passive_tasks, task);
                                task = (task_t *)main_mode_create(this->ike_sa, FALSE);
                                this->passive_tasks->insert_last(this->passive_tasks, task);
-                               task = (task_t *)xauth_request_create(this->ike_sa, FALSE);
-                               this->passive_tasks->insert_last(this->passive_tasks, task);
                                break;
                        case AGGRESSIVE:
                                /* TODO-IKEv1: agressive mode */