eap-tls-common: Add comment

This commit is contained in:
Tim Kourt 2018-12-05 14:08:56 -08:00 committed by Denis Kenzior
parent dd835aba2e
commit 4b9970bd99
1 changed files with 5 additions and 0 deletions

View File

@ -530,6 +530,11 @@ static void eap_tls_handle_phase2_payload(struct eap_state *eap,
return;
if (!eap_tls->variant_ops->tunnel_handle_request(eap, pkt, pkt_len))
/*
* The tunneled packet payload that violates the protocol or
* fails a method-specific integrity check result in tunnel
* shutdown.
*/
l_tls_close(eap_tls->tunnel);
}