aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/tnccs_20/tnccs_20.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2012-07-09 22:08:04 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2012-07-11 17:09:05 +0200
commit6245edf37e1a90e1f62ece62b59c539f0e816482 (patch)
treeb8d02a99d03a75201e4e56089f62eb78aa2d33b4 /src/libcharon/plugins/tnccs_20/tnccs_20.c
parentc8aabefd089175201b584c39438012d793996e43 (diff)
downloadstrongswan-6245edf37e1a90e1f62ece62b59c539f0e816482.tar.bz2
strongswan-6245edf37e1a90e1f62ece62b59c539f0e816482.tar.xz
eliminate message length field in EAP-TNC
Diffstat (limited to 'src/libcharon/plugins/tnccs_20/tnccs_20.c')
-rw-r--r--src/libcharon/plugins/tnccs_20/tnccs_20.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/tnccs_20/tnccs_20.c b/src/libcharon/plugins/tnccs_20/tnccs_20.c
index 606fc529b..66f2f664b 100644
--- a/src/libcharon/plugins/tnccs_20/tnccs_20.c
+++ b/src/libcharon/plugins/tnccs_20/tnccs_20.c
@@ -641,7 +641,7 @@ METHOD(tls_t, build, status_t,
pb_tnc_batch_type_names, batch_type, data.len,
this->connection_id);
DBG3(DBG_TNC, "%B", &data);
- *msglen = data.len;
+ *msglen = 0;
if (data.len > *buflen)
{