forked from wolfSSL/wolfssl
ASN_PARSE_E in GetASNInt
This commit is contained in:
committed by
Jacob Barthelmeh
parent
3af8975a66
commit
43ae3c9f59
@ -364,8 +364,6 @@ static int GetASNInt(const byte* input, word32* inOutIdx, int* len,
|
|||||||
if (*len > 0 && (input[*inOutIdx] & 0x80) == 0)
|
if (*len > 0 && (input[*inOutIdx] & 0x80) == 0)
|
||||||
return ASN_PARSE_E;
|
return ASN_PARSE_E;
|
||||||
}
|
}
|
||||||
else if ((input[*inOutIdx] & 0x80) == 0x80)
|
|
||||||
return ASN_PARSE_E;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user