IKEv1 XAuth: Added ike_vendor task to the ID_PROT exchange type processing. We need to process vendor payloads to check to see if our peer understands XAuth before using any of these payload types.
This commit is contained in:
1 parent
e3bb68841a
commit
01685247b0
1 file changed
+3
@@ -19,6 +19,7 @@
|
||||
#include <math.h>
|
||||
|
||||
#include <daemon.h>
|
||||
#include <sa/tasks/ike_vendor.h>
|
||||
#include <sa/tasks/main_mode.h>
|
||||
#include <sa/tasks/quick_mode.h>
|
||||
#include <processing/jobs/retransmit_job.h>
|
||||
@@ -493,6 +494,8 @@ static status_t process_request(private_task_manager_t *this,
|
||||
switch (message->get_exchange_type(message))
|
||||
{
|
||||
case ID_PROT:
|
||||
task = (task_t *)ike_vendor_create(this->ike_sa, FALSE);
|
||||
this->passive_tasks->insert_last(this->passive_tasks, task);
|
||||
task = (task_t *)main_mode_create(this->ike_sa, FALSE);
|
||||
this->passive_tasks->insert_last(this->passive_tasks, task);
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user