mirror of https://github.com/wolfSSL/wolfssl.git
parent
9db20774d8
commit
f84fa8dd8d
|
@ -545,6 +545,7 @@ int MakeTlsMasterSecret(WOLFSSL* ssl)
|
||||||
byte handshake_hash[HSHASH_SZ];
|
byte handshake_hash[HSHASH_SZ];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
XMEMSET(handshake_hash, 0, HSHASH_SZ);
|
||||||
ret = BuildTlsHandshakeHash(ssl, handshake_hash, &hashSz);
|
ret = BuildTlsHandshakeHash(ssl, handshake_hash, &hashSz);
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
ret = _MakeTlsExtendedMasterSecret(
|
ret = _MakeTlsExtendedMasterSecret(
|
||||||
|
|
Loading…
Reference in New Issue