Skip to content

Commit f84fa8d

Browse files
author
Andras Fekete
committed
Uninitialized variable
Warning 581199.5810097
1 parent 9db2077 commit f84fa8d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/tls.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ int MakeTlsMasterSecret(WOLFSSL* ssl)
545545
byte handshake_hash[HSHASH_SZ];
546546
#endif
547547

548+
XMEMSET(handshake_hash, 0, HSHASH_SZ);
548549
ret = BuildTlsHandshakeHash(ssl, handshake_hash, &hashSz);
549550
if (ret == 0) {
550551
ret = _MakeTlsExtendedMasterSecret(

0 commit comments

Comments
 (0)