librasn / rasn

A Safe #[no_std] ASN.1 Codec Framework
Other
183 stars 43 forks source link

Fix: oer enumerated decoding handled zero padding when it should not #249

Closed Nicceboy closed 1 month ago

Nicceboy commented 1 month ago

Decoding of enumerated values in OER handled zero padding when it should be strict instead.

Nicceboy commented 1 month ago

There seems to be build issue on Nightly Windows. Not sure whose problem is that:

info: downloading self-update

  stable-x86_64-pc-windows-msvc updated - rustc 1.78.0 (9b00956e5 2024-04-29) (from rustc 1.77.2 (25ef9e3d8 2024-04-09))

info: cleaning up downloads & tmp directories
ci/set_rust_version.bash: line 4: /c/Users/runneradmin/.cargo/bin/rustup: Device or resource busy
warning: tool `rust-analyzer` is already installed, remove it from `C:\Users\runneradmin\.cargo\bin`, then run `rustup update` to have rustup manage this tool.
warning: tool `rustfmt` is already installed, remove it from `C:\Users\runneradmin\.cargo\bin`, then run `rustup update` to have rustup manage this tool.
warning: tool `cargo-fmt` is already installed, remove it from `C:\Users\runneradmin\.cargo\bin`, then run `rustup update` to have rustup manage this tool.
Error: Process completed with exit code 126.
XAMPPRocky commented 1 month ago

Thank you for your PR!