1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-06 01:30:40 +03:00

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

This commit is contained in:
Ilya Shipitsin 2023-08-16 22:32:00 +02:00
parent 088b5c2df3
commit 8f8677f164

View File

@ -3638,6 +3638,7 @@ bool PPPProcessEAPTlsResponse(PPP_SESSION *p, PPP_EAP *eap_packet, UINT eapSize)
if (p->Eap_TlsCtx.SslPipe == NULL) if (p->Eap_TlsCtx.SslPipe == NULL)
{ {
Debug("EAP-TLS: NewSslPipeEx3 failed\n"); Debug("EAP-TLS: NewSslPipeEx3 failed\n");
PPPSetStatus(p, PPP_STATUS_FAIL);
return false; return false;
} }
} }