bcgit / pc-dart

Pointy Castle - Dart Derived Bouncy Castle APIs
MIT License
237 stars 122 forks source link

ASN1Utils Fix calculate start position #111

Closed Ephenodrom closed 3 years ago

Ephenodrom commented 3 years ago

This PR improves the calculation of the start position of the values. This code now calculates the position in the right way if the byte length is equal to 127 according to issue #90 .

mwcw commented 3 years ago

Ok it is merged.

Just a note there are instances where the tags can be two bytes long, I'll try and find an example.

MW