forked from wolfSSL/wolfssl
Merge pull request #920 from dgarske/fix_sb_tls
Fix for scan-build warning for possible use of uninitialized `eccKey`
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