Fix for scan-build warning src/tls.c:4898:20: warning: The left operand of '!=' is a garbage value.

This commit is contained in:
David Garske
2017-05-16 08:50:06 -07:00
parent da15b54529
commit 79b0311952

View File

@@ -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. */