fix uninitialized ver for esp idf build failure fix

This commit is contained in:
Hideki Miyazaki
2019-08-23 06:08:11 +09:00
parent 0e6bb4717e
commit 8b2a1f13c4

View File

@ -679,7 +679,7 @@ int wc_d2i_PKCS12(const byte* der, word32 derSz, WC_PKCS12* pkcs12)
int wc_i2d_PKCS12(WC_PKCS12* pkcs12, byte** der)
{
int ret = 0;
word32 seqSz, verSz, totalSz = 0, idx = 0, sdBufSz = 0;
word32 seqSz = 0, verSz = 0, totalSz = 0, idx = 0, sdBufSz = 0;
byte *buf = NULL;
byte ver[MAX_VERSION_SZ];
byte seq[MAX_SEQ_SZ];