ASN_PARSE_E in GetASNInt

This commit is contained in:
Takashi Kojo
2017-05-20 12:41:45 +09:00
committed by Jacob Barthelmeh
parent 3af8975a66
commit 43ae3c9f59

View File

@ -364,8 +364,6 @@ static int GetASNInt(const byte* input, word32* inOutIdx, int* len,
if (*len > 0 && (input[*inOutIdx] & 0x80) == 0)
return ASN_PARSE_E;
}
else if ((input[*inOutIdx] & 0x80) == 0x80)
return ASN_PARSE_E;
}
return 0;