diff options
author | Martin Willi <martin@revosec.ch> | 2010-06-07 14:56:24 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-06-07 14:56:24 +0200 |
commit | 8b56ec20f365f8f9d8ea4174eaa88c86dc5687e8 (patch) | |
tree | e86423e54b673ed78fe4f47a669118fde0eb3f3f /src | |
parent | d5ad6eb1e025f88c448e85cf5a690cc35673538e (diff) | |
download | strongswan-8b56ec20f365f8f9d8ea4174eaa88c86dc5687e8.tar.bz2 strongswan-8b56ec20f365f8f9d8ea4174eaa88c86dc5687e8.tar.xz |
Reacquire keymat from new IKE_SA during task migration
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/sa/tasks/ike_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcharon/sa/tasks/ike_init.c b/src/libcharon/sa/tasks/ike_init.c index 5eb33b540..38fb572f4 100644 --- a/src/libcharon/sa/tasks/ike_init.c +++ b/src/libcharon/sa/tasks/ike_init.c @@ -543,6 +543,7 @@ static void migrate(private_ike_init_t *this, ike_sa_t *ike_sa) chunk_free(&this->other_nonce); this->ike_sa = ike_sa; + this->keymat = ike_sa->get_keymat(ike_sa); this->proposal = NULL; DESTROY_IF(this->dh); this->dh = this->keymat->create_dh(this->keymat, this->dh_group); |