diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-01-20 09:57:34 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-01-20 09:57:34 +0100 |
commit | 542c64110b3f25482b6b5f1fe74c3132f317ca49 (patch) | |
tree | af419c6d221c841f83631e80a572b3974eadc113 /tool/src/commands | |
parent | 7a942691722418e454445ee37c3289018279e9c8 (diff) |
openpgp: Fix comment.
Diffstat (limited to 'tool/src/commands')
-rw-r--r-- | tool/src/commands/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/src/commands/mod.rs b/tool/src/commands/mod.rs index 0771b50e..01264cbb 100644 --- a/tool/src/commands/mod.rs +++ b/tool/src/commands/mod.rs @@ -322,8 +322,7 @@ impl<'a> VHelper<'a> { impl<'a> VerificationHelper for VHelper<'a> { fn get_public_keys(&mut self, ids: &[openpgp::KeyHandle]) -> Result<Vec<Cert>> { let mut certs = self.certs.take().unwrap(); - // Get all keys. Even if a key is revoked or expired, we can - // still use it to verify a message. + // Get all keys. let seen: HashSet<_> = certs.iter() .flat_map(|cert| { cert.keys().map(|key| key.fingerprint().into()) |