Skip to content

Commit

Permalink
deps: update openssl to 0.10
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandra Nikandrova <rage.iz.me@gmail.com>
  • Loading branch information
ragevou authored and malept committed Feb 14, 2018
1 parent 018e392 commit 15f6ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -28,4 +28,4 @@ advapi32-sys = "0.2"
winapi = "0.2"

[target.'cfg(not(any(target_os = "windows", target_os = "macos")))'.dependencies]
openssl = "0.9"
openssl = "0.10"
2 changes: 1 addition & 1 deletion src/imp/openssl.rs
Expand Up @@ -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),
}
Expand Down

0 comments on commit 15f6ea9

Please sign in to comment.