Merge pull request #4687 from julek-wolfssl/asn-template-var-init

`items` needs to be initialized as the compiler complains
This commit is contained in:
David Garske
2021-12-22 08:58:54 -08:00
committed by GitHub

View File

@ -22982,7 +22982,7 @@ int SetNameEx(byte* output, word32 outputSz, CertName* name, void* heap)
* SEQUENCE, encode SEQUENCE, encode entries into buffer. */ * SEQUENCE, encode SEQUENCE, encode entries into buffer. */
ASNSetData* dataASN = NULL; /* Can't use DECL_ASNSETDATA. Always dynamic. */ ASNSetData* dataASN = NULL; /* Can't use DECL_ASNSETDATA. Always dynamic. */
ASNItem* namesASN = NULL; ASNItem* namesASN = NULL;
int items; int items = 0;
int ret = 0; int ret = 0;
int sz; int sz;