diff options
Diffstat (limited to 'ipc/tests/gpg-agent.rs')
-rw-r--r-- | ipc/tests/gpg-agent.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/tests/gpg-agent.rs b/ipc/tests/gpg-agent.rs index 5ebdd281..26887f42 100644 --- a/ipc/tests/gpg-agent.rs +++ b/ipc/tests/gpg-agent.rs @@ -140,7 +140,7 @@ fn sign() { } impl<'a> VerificationHelper for Helper<'a> { - fn get_public_keys(&mut self, _ids: &[openpgp::KeyID]) + fn get_public_keys(&mut self, _ids: &[openpgp::KeyHandle]) -> openpgp::Result<Vec<openpgp::TPK>> { // Return public keys for signature verification here. Ok(vec![self.tpk.clone()]) @@ -251,7 +251,7 @@ fn decrypt() { } impl<'a> VerificationHelper for Helper<'a> { - fn get_public_keys(&mut self, _ids: &[openpgp::KeyID]) + fn get_public_keys(&mut self, _ids: &[openpgp::KeyHandle]) -> openpgp::Result<Vec<openpgp::TPK>> { // Return public keys for signature verification here. Ok(Vec::new()) |