From 79b03119523a7b0ac3c03b019347d0329b39630b Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 16 May 2017 08:50:06 -0700 Subject: [PATCH] Fix for scan-build warning `src/tls.c:4898:20: warning: The left operand of '!=' is a garbage value`. --- src/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls.c b/src/tls.c index a8442b360..df8f7c5b5 100755 --- a/src/tls.c +++ b/src/tls.c @@ -4756,7 +4756,7 @@ static int TLSX_KeyShare_GenEccKey(WOLFSSL *ssl, KeyShareEntry* kse) byte* keyData = NULL; word32 dataSize; word32 keySize; - ecc_key* eccKey; + ecc_key* eccKey = NULL; word16 curveId; /* TODO: [TLS13] The key sizes should come from wolfcrypt. */