aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/authenticators/eap_authenticator.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-06-28 15:41:48 +0200
committerMartin Willi <martin@revosec.ch>2010-07-05 09:41:04 +0200
commitec6caa13673176b7f2ef486dc5437cf05a00bb48 (patch)
treea3cf56e5e7f5befc66c3900dade92b88819544d9 /src/libcharon/sa/authenticators/eap_authenticator.c
parent43ab542b66080ca6153217b63f1b095086d4d345 (diff)
downloadstrongswan-ec6caa13673176b7f2ef486dc5437cf05a00bb48.tar.bz2
strongswan-ec6caa13673176b7f2ef486dc5437cf05a00bb48.tar.xz
Copy EAP specific attributes to auth config only
Diffstat (limited to 'src/libcharon/sa/authenticators/eap_authenticator.c')
-rw-r--r--src/libcharon/sa/authenticators/eap_authenticator.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libcharon/sa/authenticators/eap_authenticator.c b/src/libcharon/sa/authenticators/eap_authenticator.c
index 4617c4d8d..0fbeb63fe 100644
--- a/src/libcharon/sa/authenticators/eap_authenticator.c
+++ b/src/libcharon/sa/authenticators/eap_authenticator.c
@@ -220,7 +220,6 @@ static eap_payload_t* server_process_eap(private_eap_authenticator_t *this,
eap_type_t type, received_type;
u_int32_t vendor, received_vendor;
eap_payload_t *out;
- auth_cfg_t *cfg;
if (in->get_code(in) != EAP_RESPONSE)
{
@@ -283,12 +282,6 @@ static eap_payload_t* server_process_eap(private_eap_authenticator_t *this,
}
this->ike_sa->set_condition(this->ike_sa, COND_EAP_AUTHENTICATED,
TRUE);
- cfg = this->ike_sa->get_auth_cfg(this->ike_sa, FALSE);
- cfg->add(cfg, AUTH_RULE_EAP_TYPE, type);
- if (vendor)
- {
- cfg->add(cfg, AUTH_RULE_EAP_VENDOR, vendor);
- }
this->eap_complete = TRUE;
return eap_payload_create_code(EAP_SUCCESS, in->get_identifier(in));
case FAILED: