Implemented post-authentication certificate handling for IKEv1

This commit is contained in:
Martin Willi
2012-03-20 17:31:13 +01:00
parent 9ad5b8fa95
commit c64a4b4f8e
5 changed files with 407 additions and 1 deletions
+3
View File
@@ -37,6 +37,7 @@
#include <sa/tasks/ike_cert_pre.h>
#include <sa/tasks/ike_cert_pre_v1.h>
#include <sa/tasks/ike_cert_post.h>
#include <sa/tasks/ike_cert_post_v1.h>
#include <sa/tasks/ike_rekey.h>
#include <sa/tasks/ike_reauth.h>
#include <sa/tasks/ike_delete.h>
@@ -1127,6 +1128,8 @@ METHOD(ike_sa_t, initiate, status_t,
this->task_manager->queue_task(this->task_manager, task);
task = (task_t*)main_mode_create(&this->public, TRUE);
this->task_manager->queue_task(this->task_manager, task);
task = (task_t*)ike_cert_post_v1_create(&this->public, TRUE);
this->task_manager->queue_task(this->task_manager, task);
task = (task_t*)ike_natd_v1_create(&this->public, TRUE);
this->task_manager->queue_task(this->task_manager, task);
}