XAUTH is initiated based on configuration, no need to call externally

This commit is contained in:
Martin Willi 2011-11-23 11:27:03 +01:00
parent 017d98bf39
commit 384c1a32a2
3 changed files with 0 additions and 21 deletions

View File

@ -2129,15 +2129,6 @@ METHOD(ike_sa_t, destroy, void,
free(this); free(this);
} }
METHOD(ike_sa_t, initiate_xauth, void,
private_ike_sa_t *this)
{
xauth_request_t *xauth_request_task = xauth_request_create(this, 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. * Described in header.
*/ */

View File

@ -958,11 +958,6 @@ struct ike_sa_t {
* Destroys a ike_sa_t object. * Destroys a ike_sa_t object.
*/ */
void (*destroy) (ike_sa_t *this); void (*destroy) (ike_sa_t *this);
/**
* Initiate XAUTH authentication
*/
status_t (*initiate_xauth)(ike_sa_t *this);
}; };
/** /**

View File

@ -131,13 +131,6 @@ struct private_task_manager_t {
* Base to calculate retransmission timeout * Base to calculate retransmission timeout
*/ */
double retransmit_base; double retransmit_base;
/**
* Flag to tell the task manager to initiate a transaction at
* a later time.
*/
bool initiate_later_flag;
}; };
/** /**