Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 24, 2020

Conversation

lucab
Copy link
Contributor

@lucab lucab commented Apr 24, 2020

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

Closes: #32

@lucab lucab changed the title decode/xz: do not panic on unsupport checksum decode/xz: do not panic on unsupported checksum Apr 24, 2020
@lucab lucab force-pushed the ups/unimplemented branch 2 times, most recently from c11dbbe to 6c8a02e Compare April 24, 2020 13:18
src/decode/xz.rs Outdated Show resolved Hide resolved
This returns an error when trying to decode inputs with an unsupported
SHA-256 checksum, instead of panicking.
@lucab lucab force-pushed the ups/unimplemented branch from 6c8a02e to 0b870e1 Compare April 24, 2020 13:20
@gendx
Copy link
Owner

gendx commented Apr 24, 2020

Waiting a bit for Travis.

@gendx gendx merged commit 7148c19 into gendx:master Apr 24, 2020
@lucab lucab deleted the ups/unimplemented branch April 24, 2020 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic on decoding xz file with sha256 checksum
2 participants