summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-01-20 09:57:34 +0100
committerNeal H. Walfield <neal@pep.foundation>2020-01-20 09:57:34 +0100
commit542c64110b3f25482b6b5f1fe74c3132f317ca49 (patch)
treeaf419c6d221c841f83631e80a572b3974eadc113
parent7a942691722418e454445ee37c3289018279e9c8 (diff)
openpgp: Fix comment.
-rw-r--r--tool/src/commands/mod.rs3
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())