mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
src/tls.c:BuildTlsFinished(): work around false positive -Wmaybe-uninitialized.
This commit is contained in:
@ -168,7 +168,7 @@ int BuildTlsHandshakeHash(WOLFSSL* ssl, byte* hash, word32* hashLen)
|
||||
int BuildTlsFinished(WOLFSSL* ssl, Hashes* hashes, const byte* sender)
|
||||
{
|
||||
int ret;
|
||||
const byte* side;
|
||||
const byte* side = NULL;
|
||||
word32 hashSz = HSHASH_SZ;
|
||||
#if defined(WOLFSSL_ASYNC_CRYPT) && !defined(WC_ASYNC_NO_HASH)
|
||||
WC_DECLARE_VAR(handshake_hash, byte, HSHASH_SZ, ssl->heap);
|
||||
|
Reference in New Issue
Block a user