diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 925f75709..55993606b 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -656,7 +656,7 @@ static int GetExplicitVersion(const byte* input, word32* inOutIdx, int* version, return ASN_PARSE_E; if (input[idx++] == (ASN_CONTEXT_SPECIFIC | ASN_CONSTRUCTED)) { - *inOutIdx = ++idx; /* skip header byte */ + *inOutIdx = ++idx; /* skip header */ return GetMyVersion(input, inOutIdx, version, maxIdx); }