Whitespace cleanups in tls_eap
This commit is contained in:
@@ -141,7 +141,7 @@ METHOD(tls_eap_t, initiate, status_t,
|
|||||||
|
|
||||||
*out = chunk_clone(chunk_from_thing(pkt));
|
*out = chunk_clone(chunk_from_thing(pkt));
|
||||||
DBG2(DBG_TLS, "sending %N start packet (%u bytes)",
|
DBG2(DBG_TLS, "sending %N start packet (%u bytes)",
|
||||||
eap_type_names, this->type, sizeof(eap_tls_packet_t));
|
eap_type_names, this->type, sizeof(eap_tls_packet_t));
|
||||||
DBG3(DBG_TLS, "%B", out);
|
DBG3(DBG_TLS, "%B", out);
|
||||||
return NEED_MORE;
|
return NEED_MORE;
|
||||||
}
|
}
|
||||||
@@ -237,7 +237,7 @@ static status_t build_pkt(private_tls_eap_t *this, chunk_t *out)
|
|||||||
kind = "further fragment";
|
kind = "further fragment";
|
||||||
if (this->first_fragment)
|
if (this->first_fragment)
|
||||||
{
|
{
|
||||||
pkt->flags |= EAP_TLS_LENGTH;
|
pkt->flags |= EAP_TLS_LENGTH;
|
||||||
this->first_fragment = FALSE;
|
this->first_fragment = FALSE;
|
||||||
kind = "first fragment";
|
kind = "first fragment";
|
||||||
}
|
}
|
||||||
@@ -283,7 +283,7 @@ static status_t build_pkt(private_tls_eap_t *this, chunk_t *out)
|
|||||||
htoun16(&pkt->length, len);
|
htoun16(&pkt->length, len);
|
||||||
*out = chunk_clone(chunk_create(buf, len));
|
*out = chunk_clone(chunk_create(buf, len));
|
||||||
DBG2(DBG_TLS, "sending %N %s (%u bytes)",
|
DBG2(DBG_TLS, "sending %N %s (%u bytes)",
|
||||||
eap_type_names, this->type, kind, len);
|
eap_type_names, this->type, kind, len);
|
||||||
DBG3(DBG_TLS, "%B", out);
|
DBG3(DBG_TLS, "%B", out);
|
||||||
return NEED_MORE;
|
return NEED_MORE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user