Merge pull request #8978 from gojimmypi/pr-init-var

Initialize Dilithium keyTypeTemp and keySizeTemp
This commit is contained in:
David Garske
2025-07-09 15:03:22 -07:00
committed by GitHub

View File

@ -952,8 +952,8 @@ static int ProcessBufferTryDecodeDilithium(WOLFSSL_CTX* ctx, WOLFSSL* ssl,
word32 idx;
dilithium_key* key;
int keyFormatTemp = 0;
int keyTypeTemp;
int keySizeTemp;
int keyTypeTemp = 0;
int keySizeTemp = 0;
/* Allocate a Dilithium key to parse into. */
key = (dilithium_key*)XMALLOC(sizeof(dilithium_key), heap,