eliminate message length field in EAP-TNC
This commit is contained in:
@@ -457,7 +457,7 @@ METHOD(tls_t, build, status_t,
|
||||
DBG1(DBG_TNC, "sending TNCCS Batch (%d bytes) for Connection ID %u",
|
||||
data.len, this->connection_id);
|
||||
DBG3(DBG_TNC, "%.*s", data.len, data.ptr);
|
||||
*msglen = data.len;
|
||||
*msglen = 0;
|
||||
|
||||
if (data.len > *buflen)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user