diff options
author | Neal H. Walfield <neal@pep.foundation> | 2018-12-17 12:48:07 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2018-12-17 15:45:59 +0100 |
commit | 3366d09c94c88bb8366ed470e49ff841f336b894 (patch) | |
tree | 57e4e6dc28cc9457cf57555e941753812d03c34f /tool | |
parent | 05e1b5dc9d189e3129f8da2c6beacb014f3fd698 (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 'tool')
-rw-r--r-- | tool/src/commands/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/mod.rs b/tool/src/commands/mod.rs index 7255381e..f3a6d044 100644 --- a/tool/src/commands/mod.rs +++ b/tool/src/commands/mod.rs @@ -447,7 +447,7 @@ impl<'a> VerificationHelper for VHelper<'a> { let mut tpks = self.tpks.take().unwrap(); let seen: HashSet<_> = tpks.iter() .flat_map(|tpk| { - tpk.keys().map(|(_, key)| key.fingerprint().to_keyid()) + tpk.keys().map(|(_, _, key)| key.fingerprint().to_keyid()) }).collect(); // Explicitly provided keys are trusted. |