ikev2: Respond with NO_PROPOSAL_CHOSEN if proposal without DH group was selected

Fixes #2051.
This commit is contained in:
Tobias Brunner
2016-10-05 14:26:50 +02:00
parent 597e057b9e
commit fcca7d2904
+1
View File
@@ -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;
}