log final TLS acknowledgement packet
This commit is contained in:
parent
ded59df4fc
commit
3810afa9f9
|
@ -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");
|
DBG2(DBG_IKE, "sending TLS packet");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
DBG2(DBG_IKE, "sending TLS acknowledgement packet");
|
||||||
|
}
|
||||||
htoun16(&pkt->length, pkt_len);
|
htoun16(&pkt->length, pkt_len);
|
||||||
return eap_payload_create_data(chunk_create(buf, pkt_len));
|
return eap_payload_create_data(chunk_create(buf, pkt_len));
|
||||||
}
|
}
|
||||||
|
|
|
@ -241,9 +241,13 @@ static eap_payload_t *read_buf(private_eap_ttls_t *this, u_int8_t identifier)
|
||||||
this->output.len - this->outpos);
|
this->output.len - this->outpos);
|
||||||
chunk_free(&this->output);
|
chunk_free(&this->output);
|
||||||
this->outpos = 0;
|
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);
|
htoun16(&pkt->length, pkt_len);
|
||||||
return eap_payload_create_data(chunk_create(buf, pkt_len));
|
return eap_payload_create_data(chunk_create(buf, pkt_len));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue