summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/mod.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-02-13 11:44:12 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-02-13 12:13:02 +0100
commitf2cd1cf10eef430214d2df3d2dc7283b94fc1949 (patch)
tree9f30fb56ceac7861e5e7d9213af01e6357d2cbf5 /openpgp/src/crypto/mod.rs
parent779fd253b285f315aff529690716e2e56047caa9 (diff)
openpgp: Qualify nettle::Hash.
Diffstat (limited to 'openpgp/src/crypto/mod.rs')
-rw-r--r--openpgp/src/crypto/mod.rs4
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;