From f2cd1cf10eef430214d2df3d2dc7283b94fc1949 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 13 Feb 2019 11:44:12 +0100 Subject: openpgp: Qualify nettle::Hash. --- openpgp/src/crypto/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openpgp/src/crypto/mod.rs') diff --git a/openpgp/src/crypto/mod.rs b/openpgp/src/crypto/mod.rs index 9dfec48e..5f94e3b4 100644 --- a/openpgp/src/crypto/mod.rs +++ b/openpgp/src/crypto/mod.rs @@ -6,7 +6,7 @@ use std::fmt; use std::cmp::Ordering; use memsec; -use nettle::Hash; +use nettle; use nettle::random::Yarrow; use constants::HashAlgorithm; @@ -157,7 +157,7 @@ impl fmt::Debug for Password { /// /// This is useful when verifying detached signatures. pub fn hash_file(reader: R, algos: &[HashAlgorithm]) - -> Result)>> + -> Result)>> { use std::mem; -- cgit v1.2.3