bcgit / pc-dart

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

Fixed small bug in the decodeLength function of the ASN1Utils class #70

Closed Ephenodrom closed 3 years ago

Ephenodrom commented 3 years ago

Hello,

I fixed a small bug in the decodeLength function of the ASN1Utils class. The length was not decoded correctly if the length is 127. This caused a problem in my Basic Utils Package while trying to parse a X509 pem with some ASN1 objects with length of 127.

Ephenodrom commented 3 years ago

@mwcw Would be nice if we can merge this within the next few days and provide it via pub.dev.

mwcw commented 3 years ago

Hi,

Thanks again, this is merge it will sync up shortly.

MW