From dcf215d52c3d6c635f2c8aab79269407efd3c918 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Tue, 6 Sep 2022 11:33:30 -0500 Subject: [PATCH] Fix warning in DecodeAltNames --- 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 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");