mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
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)
|
||||
return ASN_PARSE_E;
|
||||
}
|
||||
else if ((input[*inOutIdx] & 0x80) == 0x80)
|
||||
return ASN_PARSE_E;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user