Uninitialized variable

Warning 581199.5810097
This commit is contained in:
Andras Fekete
2024-01-04 16:13:55 -05:00
parent 9db20774d8
commit f84fa8dd8d

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(