Merge pull request #5558 from embhorn/zd14776

Fix warning in DecodeAltNames
pull/5561/head
David Garske 2022-09-06 16:00:02 -07:00 committed by GitHub
commit 602116c3f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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");