diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 0716d8a5e..3e8aeb349 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -17540,7 +17540,7 @@ static int DecodeAltNames(const byte* input, int sz, DecodedCert* cert) int strLen; word32 lenStartIdx = idx; word32 oid = 0; - int ret; + int ret = 0; if (GetLength(input, &idx, &strLen, sz) < 0) { WOLFSSL_MSG("\tfail: other name length");