Merge pull request #7113 from bandi13/codeSonarFixes

Leak
This commit is contained in:
Daniel Pouzzner
2024-01-05 12:38:17 -05:00
committed by GitHub

View File

@ -545,6 +545,7 @@ int MakeTlsMasterSecret(WOLFSSL* ssl)
byte handshake_hash[HSHASH_SZ];
#endif
XMEMSET(handshake_hash, 0, HSHASH_SZ);
ret = BuildTlsHandshakeHash(ssl, handshake_hash, &hashSz);
if (ret == 0) {
ret = _MakeTlsExtendedMasterSecret(