summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/s2k.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-07-02 16:11:25 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-07-02 16:11:25 +0200
commit9761b660b508d9440b192616f70c1a2d45cbbcb9 (patch)
treee2539088fc683564fad4ca1f29a94f00387477fe /openpgp/src/crypto/s2k.rs
parenta5548dc2e4db5b4a5469e7b320f37f89e32bb1b3 (diff)
openpgp: Introduce an abstraction for hash contexts.
- See #302.
Diffstat (limited to 'openpgp/src/crypto/s2k.rs')
-rw-r--r--openpgp/src/crypto/s2k.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/crypto/s2k.rs b/openpgp/src/crypto/s2k.rs
index 4fc87096..b3e099e2 100644
--- a/openpgp/src/crypto/s2k.rs
+++ b/openpgp/src/crypto/s2k.rs
@@ -14,7 +14,7 @@ use crypto::SessionKey;
use std::fmt;
-use nettle::{Hash, Yarrow, Random};
+use nettle::{Yarrow, Random};
use quickcheck::{Arbitrary, Gen};
use rand::Rng;