ikev2: Respond with NO_PROPOSAL_CHOSEN if proposal without DH group was selected
Fixes #2051.
This commit is contained in:
1 parent
597e057b9e
commit
fcca7d2904
1 file changed
+1
@@ -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