summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-12-18 13:12:48 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-12-18 13:12:48 +0100
commit77c344092bea390e11f7fa009aa3b6fb6dcfd6f9 (patch)
tree28b4417fd4ecee401a10d8d100ac5cc44fbe8359 /tool
parente0ebe3eba4257266822f62aa22809aa9b5ade56c (diff)
openpgp: Make SubpacketValue::EmbeddedSignature take a Signature.
- Now that we eagerly check the syntax, there no longer is the need for storing Unknown packets there.
Diffstat (limited to 'tool')
-rw-r--r--tool/src/commands/dump.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs
index 92160f39..651c33a3 100644
--- a/tool/src/commands/dump.rs
+++ b/tool/src/commands/dump.rs
@@ -818,7 +818,8 @@ impl PacketDumper {
writeln!(output)?;
let indent = format!("{} ", i);
write!(output, "{}", indent)?;
- self.dump_packet(output, &indent, None, sig, None, None)?;
+ self.dump_packet(output, &indent, None, &sig.clone().into(),
+ None, None)?;
},
_ => {
if s.critical() {