Skip to content

Commit

Permalink
Do not abort on failed sha1 check, obviously there are cameras that d…
Browse files Browse the repository at this point in the history
…o it wrong, and it's impossible to fix them without updating their firmware
  • Loading branch information
dmikushin committed Oct 26, 2024
1 parent 0a3cbba commit 9f601a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cameleon/src/u3v/control_handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,8 @@ impl ControlHandle {
if xml_hash.as_slice() == hash {
Ok(())
} else {
Err(ControlError::InvalidDevice(
"sha1 of retrieved xml file isn't same as entry's hash".into(),
))
println!("Warning: sha1 of retrieved xml file isn't same as entry's hash");
Ok(())
}
} else {
Ok(())
Expand Down

0 comments on commit 9f601a2

Please sign in to comment.