Implemented migration of certificate handling tasks

This commit is contained in:
Martin Willi
2012-03-20 17:31:29 +01:00
parent 451ebecc85
commit 5903acd0ff
2 changed files with 3 additions and 0 deletions
@@ -307,6 +307,7 @@ METHOD(task_t, migrate, void,
private_isakmp_cert_post_t *this, ike_sa_t *ike_sa)
{
this->ike_sa = ike_sa;
this->state = CR_SA;
}
METHOD(task_t, destroy, void,
@@ -491,6 +491,8 @@ METHOD(task_t, migrate, void,
private_isakmp_cert_pre_t *this, ike_sa_t *ike_sa)
{
this->ike_sa = ike_sa;
this->state = CR_SA;
this->send_req = TRUE;
}
METHOD(task_t, destroy, void,