Skip to content

Commit dfcdb98

Browse files
committed
Allow calling a deprecated openssl method
1 parent 97d942a commit dfcdb98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/hasher.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ impl<R: Read> HashingReader<R> {
1616
}
1717

1818
pub fn finalize(mut self) -> Vec<u8> {
19+
#[allow(deprecated)]
1920
self.hasher.finish().unwrap()
2021
}
2122
}

0 commit comments

Comments
 (0)