tls-eap: Only servers conclude EAP method after processing packets
As client with older TLS versions, we have to ack the receipt of the server's
Finished message instead.
Fixes: 083f38259c
("tls-eap: Conclude EAP method also after processing packets")
This commit is contained in:
parent
f7613cb581
commit
024120f8ea
|
@ -394,7 +394,7 @@ METHOD(tls_eap_t, process, status_t,
|
|||
switch (status)
|
||||
{
|
||||
case INVALID_STATE:
|
||||
if (this->tls->is_complete(this->tls))
|
||||
if (this->is_server && this->tls->is_complete(this->tls))
|
||||
{
|
||||
return SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue