Revert "IKEv1 XAuth: Temporarilty add an "initiate_later" flag to the task manager. When set to TRUE it will cause "initiate" to be called when the current process_response call is finished. This change should be reverted once we have a better method in place."

This reverts commit c6c28f4ac522dd8afb457847bca79eee77f78706.

Revert "IKEv1 XAuth: Added temporary "initiate_xauth" public method to ike_sa_t.  This allows us to initiate an XAuth password authentication exchange after responding to the final message of Main Mode.  This change should be reverted once we have a better method to initiate this exchange."

This reverts commit 5529dc50477e25df9dd5f3c442bb1521c0baf225.
This commit is contained in:
Clavister OpenSource
2012-03-20 17:31:07 +01:00
parent 2c49c53186
commit e63cb7f816
4 changed files with 1 additions and 49 deletions
-13
View File
@@ -2132,18 +2132,6 @@ METHOD(ike_sa_t, destroy, void,
free(this);
}
METHOD(ike_sa_t, initiate_xauth, void,
private_ike_sa_t *this)
{
if(this->extensions & EXT_XAUTH)
{
xauth_request_t *xauth_request_task = xauth_request_create(&this->public, TRUE);
this->task_manager->queue_task(this->task_manager, (task_t*)xauth_request_task);
this->task_manager->initiate_later(this->task_manager);
}
}
/*
* Described in header.
*/
@@ -2233,7 +2221,6 @@ ike_sa_t * ike_sa_create(ike_sa_id_t *ike_sa_id, bool initiator,
.callback = _callback,
.respond = _respond,
#endif /* ME */
.initiate_xauth = _initiate_xauth,
},
.ike_sa_id = ike_sa_id->clone(ike_sa_id),
.version = version,