aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-04-05 15:45:51 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-04-05 15:45:51 +0200
commit07313dbe382ec1be605770cb444a5e18a7d920b5 (patch)
tree6a1b1a6d84b07dcfa05620a18a9a64e607d116e3 /src
parent1b80fdd9e0f61eea806559a34eda978e394cc5f0 (diff)
downloadstrongswan-07313dbe382ec1be605770cb444a5e18a7d920b5.tar.bz2
strongswan-07313dbe382ec1be605770cb444a5e18a7d920b5.tar.xz
store EAP identifier on peer side
Diffstat (limited to 'src')
-rw-r--r--src/libcharon/plugins/eap_gtc/eap_gtc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/plugins/eap_gtc/eap_gtc.c b/src/libcharon/plugins/eap_gtc/eap_gtc.c
index 7ae16d790..c3ab07de0 100644
--- a/src/libcharon/plugins/eap_gtc/eap_gtc.c
+++ b/src/libcharon/plugins/eap_gtc/eap_gtc.c
@@ -174,10 +174,11 @@ METHOD(eap_method_t, process_peer, status_t,
/* TODO: According to the draft we should "SASLprep" password, RFC4013. */
+ this->identifier = in->get_identifier(in);
res = alloca(sizeof(eap_gtc_header_t) + len);
res->length = htons(sizeof(eap_gtc_header_t) + len);
res->code = EAP_RESPONSE;
- res->identifier = in->get_identifier(in);
+ res->identifier = this->identifier;
res->type = EAP_GTC;
memcpy(res->data, key.ptr, len);