From 962774effab9b47b52ae69bcafaa31006769452c Mon Sep 17 00:00:00 2001 From: Alexandra Nikandrova Date: Sat, 13 Jan 2018 18:28:48 +0100 Subject: [PATCH] deps: update openssl to 0.10 Signed-off-by: Alexandra Nikandrova --- src/imp/openssl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imp/openssl.rs b/src/imp/openssl.rs index ba573c4..f786f62 100644 --- a/src/imp/openssl.rs +++ b/src/imp/openssl.rs @@ -65,7 +65,7 @@ impl Hasher { /// Generate a digest from the data written to the `Hasher`. pub fn finish(&mut self) -> Vec { let Hasher(ref mut hasher) = *self; - match hasher.finish2() { + match hasher.finish() { Ok(digest) => digest.to_vec(), Err(error_stack) => panic!("OpenSSL error(s): {}", error_stack), } -- 2.15.1