forked from wolfSSL/wolfssl
Fix memset size
This commit is contained in:
@ -186,7 +186,7 @@ int BuildTlsFinished(WOLFSSL* ssl, Hashes* hashes, const byte* sender)
|
||||
return MEMORY_E;
|
||||
#endif
|
||||
|
||||
XMEMSET(handshake_hash, 0, sizeof(handshake_hash));
|
||||
XMEMSET(handshake_hash, 0, HSHASH_SZ);
|
||||
ret = BuildTlsHandshakeHash(ssl, handshake_hash, &hashSz);
|
||||
if (ret == 0) {
|
||||
if (XSTRNCMP((const char*)sender, (const char*)kTlsClientStr,
|
||||
|
Reference in New Issue
Block a user