summaryrefslogtreecommitdiffstats
path: root/tool/src/commands/decrypt.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-12-07 16:20:59 +0100
committerJustus Winter <justus@sequoia-pgp.org>2018-12-07 16:48:23 +0100
commit58286b06295c95f77b1bb2cb28dc247238080a7a (patch)
treed847311b7c13b4af7914827c6d551c7163cef9fc /tool/src/commands/decrypt.rs
parent0768b36c4dd9bddd6b85a7017c32e44ad9775db5 (diff)
openpgp: Make PacketParser's map field private.
Diffstat (limited to 'tool/src/commands/decrypt.rs')
-rw-r--r--tool/src/commands/decrypt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/decrypt.rs b/tool/src/commands/decrypt.rs
index 9fc93f2a..d6f9a468 100644
--- a/tool/src/commands/decrypt.rs
+++ b/tool/src/commands/decrypt.rs
@@ -114,7 +114,7 @@ impl<'a> DecryptionHelper for Helper<'a> {
dumper.packet(&mut io::stderr(),
pp.recursion_depth() as usize,
pp.header.clone(), pp.packet.clone(),
- pp.map.clone(), None)?;
+ pp.map().map(|m| m.clone()), None)?;
}
Ok(())
}