diff options
Diffstat (limited to 'openpgp/examples')
-rw-r--r-- | openpgp/examples/decrypt-with.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/decrypt-with.rs b/openpgp/examples/decrypt-with.rs index bed1677c..e023bcb9 100644 --- a/openpgp/examples/decrypt-with.rs +++ b/openpgp/examples/decrypt-with.rs @@ -59,7 +59,7 @@ pub fn main() { Packet::SEIP(_) => { let mut state = None; for pkesk in pkesks.iter() { - if let Some(tsk) = keys.get(&pkesk.recipient) { + if let Some(tsk) = keys.get(&pkesk.recipient()) { if let Some(SecretKey::Unencrypted{ref mpis}) = tsk.secret() { |