Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Shipitsin <chipitsine@gmail.com>2023-08-16 23:32:00 +0300
committerIlya Shipitsin <chipitsine@gmail.com>2023-08-16 23:32:00 +0300
commit8f8677f164cc5eb92d41cb4255cdaed3a9ad28bb (patch)
treebabf9c2896aab2e4c13864b8a8e8763f255c1e12
parent088b5c2df31833d4b10c8ca6aa5bbb90c9cf80fe (diff)
set PPPSetStatus(p, PPP_STATUS_FAIL); in case of failure
-rw-r--r--src/Cedar/Proto_PPP.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Cedar/Proto_PPP.c b/src/Cedar/Proto_PPP.c
index 498c0bf1..e9908e0a 100644
--- a/src/Cedar/Proto_PPP.c
+++ b/src/Cedar/Proto_PPP.c
@@ -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;
}
}