From 8aa11005082a55d2ee53bfd039de3bac314390c4 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Sat, 8 Jan 2022 00:32:48 -0600 Subject: [PATCH] wolfcrypt/src/wc_pkcs11.c: fixes for cppcheck complaints: uninitvar --- wolfcrypt/src/wc_pkcs11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/wc_pkcs11.c b/wolfcrypt/src/wc_pkcs11.c index 32f521e00..667db293b 100644 --- a/wolfcrypt/src/wc_pkcs11.c +++ b/wolfcrypt/src/wc_pkcs11.c @@ -2041,7 +2041,7 @@ static int Pkcs11GetEccPublicKey(ecc_key* key, Pkcs11Session* session, word32 i = 0; int curveIdx; unsigned char* point = NULL; - int pointSz; + int pointSz = 0; byte tag; CK_RV rv; CK_ATTRIBUTE tmpl[] = {