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[] = {