summaryrefslogtreecommitdiffstats
path: root/sqv
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-02-13 12:27:26 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-02-13 12:27:26 +0100
commit906c5c106ebd13656c81304af8ad3b9a4c15ca50 (patch)
treed696649ef147947d91aafae40c9ac84e761eb66a /sqv
parentf2cd1cf10eef430214d2df3d2dc7283b94fc1949 (diff)
openpgp: Introduce crypto::Hash.
- This trait formalizes the hashing of OpenPGP packets and related types. - Fixes #183.
Diffstat (limited to 'sqv')
-rw-r--r--sqv/src/sqv.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/sqv/src/sqv.rs b/sqv/src/sqv.rs
index fc8a98a3..c9cc65c6 100644
--- a/sqv/src/sqv.rs
+++ b/sqv/src/sqv.rs
@@ -16,6 +16,7 @@ use std::collections::{HashMap, HashSet};
use openpgp::{TPK, Packet, packet::Signature, KeyID, RevocationStatus};
use openpgp::constants::HashAlgorithm;
+use openpgp::crypto::Hash;
use openpgp::parse::{Parse, PacketParserResult, PacketParser};
use openpgp::tpk::TPKParser;