Implemented migration of certificate handling tasks
[strongswan.git] / src / libcharon / sa / ikev1 / tasks / isakmp_cert_pre.c
index db25bf3..25c4af6 100644 (file)
@@ -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,