Fix warning in DecodeAltNames

pull/5558/head
Eric Blankenhorn 2022-09-06 11:33:30 -05:00
parent a33368f314
commit dcf215d52c
1 changed files with 1 additions and 1 deletions

View File

@ -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");