forked from wolfSSL/wolfssl
@ -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(
|
||||||
|
Reference in New Issue
Block a user