diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-07-09 20:58:51 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-07-11 17:09:04 +0200 |
commit | a04c51aea91ea1c61f67f5a61e329946ef7e5ebf (patch) | |
tree | db4b947333a7594754305acd6e1ee213eaff7a1d /src/libcharon/plugins/eap_tnc | |
parent | 4492ffc90798fb3764868e9887a0c96009b9b9e4 (diff) | |
download | strongswan-a04c51aea91ea1c61f67f5a61e329946ef7e5ebf.tar.bz2 strongswan-a04c51aea91ea1c61f67f5a61e329946ef7e5ebf.tar.xz |
due to single fragment, total length does not have to be included
Diffstat (limited to 'src/libcharon/plugins/eap_tnc')
-rw-r--r-- | src/libcharon/plugins/eap_tnc/eap_tnc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcharon/plugins/eap_tnc/eap_tnc.c b/src/libcharon/plugins/eap_tnc/eap_tnc.c index 53c488d94..b5cad6940 100644 --- a/src/libcharon/plugins/eap_tnc/eap_tnc.c +++ b/src/libcharon/plugins/eap_tnc/eap_tnc.c @@ -154,8 +154,6 @@ static eap_tnc_t *eap_tnc_create(identification_t *server, max_msg_count = lib->settings->get_int(lib->settings, "%s.plugins.eap-tnc.max_message_count", EAP_TNC_MAX_MESSAGE_COUNT, charon->name); - include_length = lib->settings->get_bool(lib->settings, - "%s.plugins.eap-tnc.include_length", TRUE, charon->name); protocol = lib->settings->get_str(lib->settings, "%s.plugins.eap-tnc.protocol", "tnccs-1.1", charon->name); if (strcaseeq(protocol, "tnccs-2.0")) @@ -179,7 +177,7 @@ static eap_tnc_t *eap_tnc_create(identification_t *server, tnccs = tnc->tnccs->create_instance(tnc->tnccs, type, is_server); this->tls_eap = tls_eap_create(EAP_TNC, (tls_t*)tnccs, EAP_TNC_MAX_MESSAGE_LEN, - max_msg_count, include_length); + max_msg_count, FALSE); if (!this->tls_eap) { free(this); |