mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +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 BuildTlsFinished(WOLFSSL* ssl, Hashes* hashes, const byte* sender)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
const byte* side;
|
const byte* side = NULL;
|
||||||
word32 hashSz = HSHASH_SZ;
|
word32 hashSz = HSHASH_SZ;
|
||||||
#if defined(WOLFSSL_ASYNC_CRYPT) && !defined(WC_ASYNC_NO_HASH)
|
#if defined(WOLFSSL_ASYNC_CRYPT) && !defined(WC_ASYNC_NO_HASH)
|
||||||
WC_DECLARE_VAR(handshake_hash, byte, HSHASH_SZ, ssl->heap);
|
WC_DECLARE_VAR(handshake_hash, byte, HSHASH_SZ, ssl->heap);
|
||||||
|
Reference in New Issue
Block a user