mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-07 00:01:49 -04:00
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: 083f38259c79 ("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…
x
Reference in New Issue
Block a user