From 8f8677f164cc5eb92d41cb4255cdaed3a9ad28bb Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Wed, 16 Aug 2023 22:32:00 +0200 Subject: set PPPSetStatus(p, PPP_STATUS_FAIL); in case of failure --- src/Cedar/Proto_PPP.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- cgit v1.2.3