diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-12-05 16:13:54 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-12-05 16:21:52 +0100 |
commit | 41fd3f08adff856ec558f8b06214e0f392893a26 (patch) | |
tree | e7894d4e77074109692503fab3b3b46d343f70b6 /ipc/examples/gpg-agent-sign.rs | |
parent | 71a3a540bda400f52a841c04b8d33a51959fa8f0 (diff) |
openpgp: Make crypto::{Signer,Decryptor} non-polymorphic.
- These are low-level cryptographic traits that are not concerned
with the role of a key.
- Fixes #382.
Diffstat (limited to 'ipc/examples/gpg-agent-sign.rs')
-rw-r--r-- | ipc/examples/gpg-agent-sign.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/examples/gpg-agent-sign.rs b/ipc/examples/gpg-agent-sign.rs index 5e8c28c6..e0cfeb98 100644 --- a/ipc/examples/gpg-agent-sign.rs +++ b/ipc/examples/gpg-agent-sign.rs @@ -42,7 +42,7 @@ fn main() { cert.keys_valid().for_signing().filter_map(|(_, _, key)| { KeyPair::new(&ctx, key).ok() }) - }).collect::<Vec<KeyPair<_>>>(); + }).collect::<Vec<KeyPair>>(); // Compose a writer stack corresponding to the output format and // packet structure we want. First, we want the output to be |