log final TLS acknowledgement packet

This commit is contained in:
Andreas Steffen 2010-08-08 19:14:53 +02:00
parent ded59df4fc
commit 3810afa9f9
2 changed files with 9 additions and 1 deletions

View File

@ -243,6 +243,10 @@ static eap_payload_t *read_buf(private_eap_tls_t *this, u_int8_t identifier)
DBG2(DBG_IKE, "sending TLS packet");
}
}
else
{
DBG2(DBG_IKE, "sending TLS acknowledgement packet");
}
htoun16(&pkt->length, pkt_len);
return eap_payload_create_data(chunk_create(buf, pkt_len));
}

View File

@ -241,9 +241,13 @@ static eap_payload_t *read_buf(private_eap_ttls_t *this, u_int8_t identifier)
this->output.len - this->outpos);
chunk_free(&this->output);
this->outpos = 0;
DBG2(DBG_IKE, "sending TLS packet or last fragment");
DBG2(DBG_IKE, "sending TLS packet");
}
}
else
{
DBG2(DBG_IKE, "sending TLS acknowledgement packet");
}
htoun16(&pkt->length, pkt_len);
return eap_payload_create_data(chunk_create(buf, pkt_len));
}