set PPPSetStatus(p, PPP_STATUS_FAIL); in case of failure

This commit is contained in:
Ilya Shipitsin committed 2023-08-16 22:32:00 +02:00
1 parent 088b5c2df3
commit 8f8677f164
1 file changed
+1
+1
View File
@@ -3638,6 +3638,7 @@ bool PPPProcessEAPTlsResponse(PPP_SESSION *p, PPP_EAP *eap_packet, UINT eapSize)
if (p->Eap_TlsCtx.SslPipe == NULL)
{
Debug("EAP-TLS: NewSslPipeEx3 failed\n");
PPPSetStatus(p, PPP_STATUS_FAIL);
return false;
}
}