summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/mem.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-11-17 16:54:32 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-12-07 16:37:57 +0100
commitd05f6cecbaeda0be9eae6a80517c1839d581545e (patch)
tree6af2ad42f85b623022056c36d5ffa5ec5e2283e5 /openpgp/src/crypto/mem.rs
parent3b88cd1725bdded57c2ff845db5d471d2da63e6a (diff)
openpgp: Drop hash::Context in favor of a pub trait hash::Digest.
Diffstat (limited to 'openpgp/src/crypto/mem.rs')
-rw-r--r--openpgp/src/crypto/mem.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/crypto/mem.rs b/openpgp/src/crypto/mem.rs
index 96f80483..f9979868 100644
--- a/openpgp/src/crypto/mem.rs
+++ b/openpgp/src/crypto/mem.rs
@@ -249,6 +249,7 @@ mod has_access_to_prekey {
use lazy_static;
use crate::types::{AEADAlgorithm, HashAlgorithm, SymmetricAlgorithm};
use crate::crypto::{aead, SessionKey};
+ use crate::crypto::hash::Digest;
use super::*;
lazy_static::lazy_static! {