summaryrefslogtreecommitdiffstats
path: root/tool/src/commands
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-04-06 16:34:32 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-04-06 16:58:55 +0200
commit74e99d43769396d32820fa9c233ed7c541b13820 (patch)
tree31167e3132130980efeb66d755b357378dba21f3 /tool/src/commands
parent3ff9e05ed8bf568aa2629a92c7433264f7d332e9 (diff)
openpgp: Rename VerificationHelper::get_public_keys to get_certs.
Diffstat (limited to 'tool/src/commands')
-rw-r--r--tool/src/commands/decrypt.rs4
-rw-r--r--tool/src/commands/mod.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/tool/src/commands/decrypt.rs b/tool/src/commands/decrypt.rs
index 68561f80..2a04a1bd 100644
--- a/tool/src/commands/decrypt.rs
+++ b/tool/src/commands/decrypt.rs
@@ -114,8 +114,8 @@ impl<'a> Helper<'a> {
}
impl<'a> VerificationHelper for Helper<'a> {
- fn get_public_keys(&mut self, ids: &[openpgp::KeyHandle]) -> Result<Vec<Cert>> {
- self.vhelper.get_public_keys(ids)
+ fn get_certs(&mut self, ids: &[openpgp::KeyHandle]) -> Result<Vec<Cert>> {
+ self.vhelper.get_certs(ids)
}
fn check(&mut self, structure: MessageStructure) -> Result<()> {
self.vhelper.check(structure)
diff --git a/tool/src/commands/mod.rs b/tool/src/commands/mod.rs
index 67e6b830..37c6c6d6 100644
--- a/tool/src/commands/mod.rs
+++ b/tool/src/commands/mod.rs
@@ -314,7 +314,7 @@ impl<'a> VHelper<'a> {
}
impl<'a> VerificationHelper for VHelper<'a> {
- fn get_public_keys(&mut self, ids: &[openpgp::KeyHandle]) -> Result<Vec<Cert>> {
+ fn get_certs(&mut self, ids: &[openpgp::KeyHandle]) -> Result<Vec<Cert>> {
let mut certs = self.certs.take().unwrap();
// Get all keys.
let seen: HashSet<_> = certs.iter()