diff --git a/wolfcrypt/src/pkcs12.c b/wolfcrypt/src/pkcs12.c index 08c5aacb4..43be7522b 100644 --- a/wolfcrypt/src/pkcs12.c +++ b/wolfcrypt/src/pkcs12.c @@ -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];