summaryrefslogtreecommitdiffstats
path: root/sqv
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2018-12-17 12:48:07 +0100
committerNeal H. Walfield <neal@pep.foundation>2018-12-17 15:45:59 +0100
commit3366d09c94c88bb8366ed470e49ff841f336b894 (patch)
tree57e4e6dc28cc9457cf57555e941753812d03c34f /sqv
parent05e1b5dc9d189e3129f8da2c6beacb014f3fd698 (diff)
openpgp: Change KeyIter to also return the RevocationStatus.
- A Key's revocation status is a property of its binding, but the binding is not exposed by KeyIter. Expose it.
Diffstat (limited to 'sqv')
-rw-r--r--sqv/src/sqv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqv/src/sqv.rs b/sqv/src/sqv.rs
index 495ec5dc..a1f0c523 100644
--- a/sqv/src/sqv.rs
+++ b/sqv/src/sqv.rs
@@ -214,7 +214,7 @@ fn real_main() -> Result<(), failure::Error> {
if let Some(ref tpk) = tpko {
// Find the right key.
- for (_, key) in tpk.keys() {
+ for (_, _, key) in tpk.keys() {
if issuer == key.keyid() {
let mut hash = match hashes.get(&sig.hash_algo()) {
Some(h) => h.clone(),