aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-11-30 16:59:23 +0100
committerMartin Willi <martin@strongswan.org>2009-11-30 16:59:23 +0100
commit5b2b4d190a1bcd23393a10c451bbbd6c2c8924fb (patch)
treed2de7daba194722001ac7004675e6708244ffa53 /src
parent5351e519512622becde0ab884bc878296bc5c790 (diff)
downloadstrongswan-5b2b4d190a1bcd23393a10c451bbbd6c2c8924fb.tar.bz2
strongswan-5b2b4d190a1bcd23393a10c451bbbd6c2c8924fb.tar.xz
Removed obsolete and unused [gs]et_eap_identity() methods
Diffstat (limited to 'src')
-rw-r--r--src/charon/sa/ike_sa.c26
-rw-r--r--src/charon/sa/ike_sa.h16
2 files changed, 0 insertions, 42 deletions
diff --git a/src/charon/sa/ike_sa.c b/src/charon/sa/ike_sa.c
index a6bae454f..43057a65e 100644
--- a/src/charon/sa/ike_sa.c
+++ b/src/charon/sa/ike_sa.c
@@ -160,11 +160,6 @@ struct private_ike_sa_t {
identification_t *other_id;
/**
- * EAP Identity exchange in EAP-Identity method
- */
- identification_t *eap_identity;;
-
- /**
* set of extensions the peer supports
*/
ike_extension_t extensions;
@@ -1354,23 +1349,6 @@ static void set_other_id(private_ike_sa_t *this, identification_t *other)
}
/**
- * Implementation of ike_sa_t.get_eap_identity.
- */
-static identification_t* get_eap_identity(private_ike_sa_t *this)
-{
- return this->eap_identity;
-}
-
-/**
- * Implementation of ike_sa_t.set_eap_identity.
- */
-static void set_eap_identity(private_ike_sa_t *this, identification_t *id)
-{
- DESTROY_IF(this->eap_identity);
- this->eap_identity = id;
-}
-
-/**
* Implementation of ike_sa_t.add_child_sa.
*/
static void add_child_sa(private_ike_sa_t *this, child_sa_t *child_sa)
@@ -2006,7 +1984,6 @@ static void destroy(private_ike_sa_t *this)
DESTROY_IF(this->other_id);
DESTROY_IF(this->local_host);
DESTROY_IF(this->remote_host);
- DESTROY_IF(this->eap_identity);
DESTROY_IF(this->ike_cfg);
DESTROY_IF(this->peer_cfg);
@@ -2051,8 +2028,6 @@ ike_sa_t * ike_sa_create(ike_sa_id_t *ike_sa_id)
this->public.set_my_id = (void (*)(ike_sa_t*,identification_t*)) set_my_id;
this->public.get_other_id = (identification_t* (*)(ike_sa_t*)) get_other_id;
this->public.set_other_id = (void (*)(ike_sa_t*,identification_t*)) set_other_id;
- this->public.get_eap_identity = (identification_t* (*)(ike_sa_t*)) get_eap_identity;
- this->public.set_eap_identity = (void (*)(ike_sa_t*,identification_t*)) set_eap_identity;
this->public.enable_extension = (void(*)(ike_sa_t*, ike_extension_t extension))enable_extension;
this->public.supports_extension = (bool(*)(ike_sa_t*, ike_extension_t extension))supports_extension;
this->public.set_condition = (void (*)(ike_sa_t*, ike_condition_t,bool)) set_condition;
@@ -2107,7 +2082,6 @@ ike_sa_t * ike_sa_create(ike_sa_id_t *ike_sa_id)
this->other_host = host_create_any(AF_INET);
this->my_id = identification_create_from_encoding(ID_ANY, chunk_empty);
this->other_id = identification_create_from_encoding(ID_ANY, chunk_empty);
- this->eap_identity = NULL;
this->extensions = 0;
this->conditions = 0;
this->keymat = keymat_create(ike_sa_id->is_initiator(ike_sa_id));
diff --git a/src/charon/sa/ike_sa.h b/src/charon/sa/ike_sa.h
index 5e6378b82..99d795fb2 100644
--- a/src/charon/sa/ike_sa.h
+++ b/src/charon/sa/ike_sa.h
@@ -356,22 +356,6 @@ struct ike_sa_t {
void (*set_other_id) (ike_sa_t *this, identification_t *other);
/**
- * Get the peers EAP identity.
- *
- * The EAP identity is exchanged in a EAP-Identity exchange.
- *
- * @return identification, NULL if none set
- */
- identification_t* (*get_eap_identity) (ike_sa_t *this);
-
- /**
- * Set the peer's EAP identity.
- *
- * @param id identification
- */
- void (*set_eap_identity) (ike_sa_t *this, identification_t *id);
-
- /**
* Get the config used to setup this IKE_SA.
*
* @return ike_config