Merge pull request #5558 from embhorn/zd14776

Fix warning in DecodeAltNames
This commit is contained in:
David Garske
2022-09-06 16:00:02 -07:00
committed by GitHub

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