rasn icon indicating copy to clipboard operation
rasn copied to clipboard

BER Unable to encode Bitstring ending in 0x00

Open anthok opened this issue 2 years ago • 1 comments

I don't think it's currently possible to encode Bitstrings ending in 0x00. I think that is due to this code https://github.com/XAMPPRocky/rasn/blob/1ff67d472faa3f0448d1b6ca31cd8c1b149ff072/src/ber/enc.rs#L259

anthok avatar Apr 04 '22 14:04 anthok

Thank you for your issue! Yeah, should probably just remove that code, though I remember running into other issues without that, could no longer be relevant though.

XAMPPRocky avatar May 07 '22 23:05 XAMPPRocky