mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 20:24:39 +02:00
Fix for scan-build warning src/tls.c:4898:20: warning: The left operand of '!=' is a garbage value
.
This commit is contained in:
@@ -4756,7 +4756,7 @@ static int TLSX_KeyShare_GenEccKey(WOLFSSL *ssl, KeyShareEntry* kse)
|
|||||||
byte* keyData = NULL;
|
byte* keyData = NULL;
|
||||||
word32 dataSize;
|
word32 dataSize;
|
||||||
word32 keySize;
|
word32 keySize;
|
||||||
ecc_key* eccKey;
|
ecc_key* eccKey = NULL;
|
||||||
word16 curveId;
|
word16 curveId;
|
||||||
|
|
||||||
/* TODO: [TLS13] The key sizes should come from wolfcrypt. */
|
/* TODO: [TLS13] The key sizes should come from wolfcrypt. */
|
||||||
|
Reference in New Issue
Block a user