From 41fd3f08adff856ec558f8b06214e0f392893a26 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 5 Dec 2019 16:13:54 +0100 Subject: 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. --- ipc/examples/gpg-agent-sign.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipc/examples/gpg-agent-sign.rs') 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::>>(); + }).collect::>(); // Compose a writer stack corresponding to the output format and // packet structure we want. First, we want the output to be -- cgit v1.2.3