diff options
Diffstat (limited to 'openpgp/src/crypto/mod.rs')
-rw-r--r-- | openpgp/src/crypto/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<R: Read>(reader: R, algos: &[HashAlgorithm]) - -> Result<Vec<(HashAlgorithm, Box<Hash>)>> + -> Result<Vec<(HashAlgorithm, Box<nettle::Hash>)>> { use std::mem; |