From 4d431383d3de168086e6b43cd341c515a5524e95 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 16 Sep 2020 10:43:42 +0200 Subject: [PATCH] src/backup/data_blob.rs: expose verify_crc again --- src/backup/data_blob.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backup/data_blob.rs b/src/backup/data_blob.rs index 7902328d..b687be04 100644 --- a/src/backup/data_blob.rs +++ b/src/backup/data_blob.rs @@ -72,7 +72,7 @@ impl DataBlob { } // verify the CRC32 checksum - fn verify_crc(&self) -> Result<(), Error> { + pub fn verify_crc(&self) -> Result<(), Error> { let expected_crc = self.compute_crc(); if expected_crc != self.crc() { bail!("Data blob has wrong CRC checksum.");