Ignore DH exchange in CHILD_SA rekeying if the selected proposal contains no DH group
This commit is contained in:
@@ -329,11 +329,11 @@ static status_t select_and_install(private_child_create_t *this, bool no_dh)
|
|||||||
this->dh_group = group;
|
this->dh_group = group;
|
||||||
return INVALID_ARG;
|
return INVALID_ARG;
|
||||||
}
|
}
|
||||||
else
|
/* the selected proposal does not use a DH group */
|
||||||
{
|
DBG1(DBG_IKE, "ignoring KE exchange, agreed on a non-PFS proposal");
|
||||||
DBG1(DBG_IKE, "no acceptable proposal found");
|
DESTROY_IF(this->dh);
|
||||||
return FAILED;
|
this->dh = NULL;
|
||||||
}
|
this->dh_group = MODP_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (my_vip == NULL)
|
if (my_vip == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user