ikev2: Respond with NO_PROPOSAL_CHOSEN if proposal without DH group was selected
Fixes #2051.
This commit is contained in:
@@ -655,6 +655,7 @@ METHOD(task_t, build_r, status_t,
|
||||
else
|
||||
{
|
||||
DBG1(DBG_IKE, "no acceptable proposal found");
|
||||
message->add_notify(message, TRUE, NO_PROPOSAL_CHOSEN, chunk_empty);
|
||||
}
|
||||
return FAILED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user