EAP-TLS clients send an empty packet on failure to properly shut down a TLS session
This commit is contained in:
parent
e6f3ef1330
commit
5ff8c62707
|
@ -382,6 +382,12 @@ METHOD(eap_method_t, process, status_t,
|
|||
{
|
||||
*out = read_buf(this, pkt->identifier);
|
||||
}
|
||||
else if (status == FAILED && !this->is_server)
|
||||
{ /* client sends an empty TLS message, waits for a EAP-Failure */
|
||||
chunk_free(&this->output);
|
||||
*out = read_buf(this, pkt->identifier);
|
||||
return NEED_MORE;
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue