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:
@@ -394,7 +394,7 @@ METHOD(tls_eap_t, process, status_t,
|
|||||||
switch (status)
|
switch (status)
|
||||||
{
|
{
|
||||||
case INVALID_STATE:
|
case INVALID_STATE:
|
||||||
if (this->tls->is_complete(this->tls))
|
if (this->is_server && this->tls->is_complete(this->tls))
|
||||||
{
|
{
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user