EAP-TLS clients send an empty packet on failure to properly shut down a TLS session
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user