You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
875 B
27 lines
875 B
7 years ago
|
From 962774effab9b47b52ae69bcafaa31006769452c Mon Sep 17 00:00:00 2001
|
||
|
From: Alexandra Nikandrova <rage.iz.me@gmail.com>
|
||
|
Date: Sat, 13 Jan 2018 18:28:48 +0100
|
||
|
Subject: [PATCH] deps: update openssl to 0.10
|
||
|
|
||
|
Signed-off-by: Alexandra Nikandrova <rage.iz.me@gmail.com>
|
||
|
---
|
||
|
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<u8> {
|
||
|
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
|
||
|
|