From 618599656f3b477026e638bf03dde50eed42297a Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Wed, 22 Dec 2021 10:42:48 +0100 Subject: [PATCH] `items` needs to be initialized as the compiler complains --- wolfcrypt/src/asn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index c757ccd9d..5eb7edfde 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -22982,7 +22982,7 @@ int SetNameEx(byte* output, word32 outputSz, CertName* name, void* heap) * SEQUENCE, encode SEQUENCE, encode entries into buffer. */ ASNSetData* dataASN = NULL; /* Can't use DECL_ASNSETDATA. Always dynamic. */ ASNItem* namesASN = NULL; - int items; + int items = 0; int ret = 0; int sz;