gendx / lzma-rs

An LZMA decoder written in pure Rust
MIT License
128 stars 27 forks source link

decode/xz: do not panic on unsupported checksum #40

Closed lucab closed 4 years ago

lucab commented 4 years ago

This returns an error when trying to decode inputs with an unsupported SHA-256 checksum, instead of panicking.

Closes: https://github.com/gendx/lzma-rs/issues/32

gendx commented 4 years ago

Waiting a bit for Travis.