summaryrefslogtreecommitdiffstats
path: root/sq/src/commands/dump.rs
diff options
context:
space:
mode:
Diffstat (limited to 'sq/src/commands/dump.rs')
-rw-r--r--sq/src/commands/dump.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/sq/src/commands/dump.rs b/sq/src/commands/dump.rs
index 0b3d4157..7a76b6d1 100644
--- a/sq/src/commands/dump.rs
+++ b/sq/src/commands/dump.rs
@@ -719,6 +719,12 @@ impl PacketDumper {
writeln!(output, "{} IV: {}", i, hex::encode(a.iv()))?;
},
+ Padding(p) => {
+ use openpgp::serialize::MarshalInto;
+ writeln!(output, "{} Net amount: {} bytes", i,
+ p.serialized_len())?;
+ },
+
// openpgp::Packet is non-exhaustive.
u => writeln!(output, "{} Unknown variant: {:?}", i, u)?,
}