Uninitialized variable

Warning 581196.3236230
This commit is contained in:
Andras Fekete
2023-11-15 15:31:44 -05:00
parent f00c5eb95d
commit c404df78b1

View File

@ -186,6 +186,7 @@ int BuildTlsFinished(WOLFSSL* ssl, Hashes* hashes, const byte* sender)
return MEMORY_E;
#endif
XMEMSET(handshake_hash, 0, sizeof(handshake_hash));
ret = BuildTlsHandshakeHash(ssl, handshake_hash, &hashSz);
if (ret == 0) {
if (XSTRNCMP((const char*)sender, (const char*)kTlsClientStr,