XAUTH is initiated based on configuration, no need to call externally
authorMartin Willi <martin@revosec.ch>
Wed, 23 Nov 2011 10:27:03 +0000 (11:27 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:30:49 +0000 (17:30 +0100)
src/libcharon/sa/ike_sa.c
src/libcharon/sa/ike_sa.h
src/libcharon/sa/task_manager_v1.c

index 05622a3..6be8471 100644 (file)
@@ -2129,15 +2129,6 @@ METHOD(ike_sa_t, destroy, void,
        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.
  */
index ecfb04e..2753fca 100644 (file)
@@ -958,11 +958,6 @@ struct ike_sa_t {
         * Destroys a ike_sa_t object.
         */
        void (*destroy) (ike_sa_t *this);
-
-       /**
-        * Initiate XAUTH authentication
-        */
-       status_t (*initiate_xauth)(ike_sa_t *this);
 };
 
 /**
index fbc8da7..8bec310 100644 (file)
@@ -131,13 +131,6 @@ struct private_task_manager_t {
         * Base to calculate retransmission timeout
         */
        double retransmit_base;
-
-       /**
-        * Flag to tell the task manager to initiate a transaction at
-        * a later time.
-        */
-       bool initiate_later_flag;
-
 };
 
 /**