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:
Tobias Brunner 2021-02-18 10:46:56 +01:00
parent f7613cb581
commit 024120f8ea
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}