src/backup/data_blob.rs: expose verify_crc again

This commit is contained in:
Dietmar Maurer 2020-09-16 10:43:42 +02:00
parent d10332a15d
commit 4d431383d3
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ impl DataBlob {
} }
// verify the CRC32 checksum // verify the CRC32 checksum
fn verify_crc(&self) -> Result<(), Error> { pub fn verify_crc(&self) -> Result<(), Error> {
let expected_crc = self.compute_crc(); let expected_crc = self.compute_crc();
if expected_crc != self.crc() { if expected_crc != self.crc() {
bail!("Data blob has wrong CRC checksum."); bail!("Data blob has wrong CRC checksum.");