1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 09:29:52 +03:00

Fixing a use of unitialized variable as per CPPCHECK

This commit is contained in:
Evengard 2020-05-03 14:22:18 +03:00
parent 8fb456f6a6
commit ca1c6a5f3f

View File

@ -3013,7 +3013,7 @@ bool PPPProcessEAPTlsResponse(PPP_SESSION *p, PPP_EAP *eap_packet, UINT eapTlsSi
bool isFragmented = false;
PPP_LCP *lcp;
PPP_EAP *eap;
UCHAR flags;
UCHAR flags = PPP_EAP_TLS_FLAG_NONE;
UINT64 sizeLeft = 0;
Debug("Got EAP-TLS size=%i\n", eapTlsSize);
if (eapTlsSize == 1)