summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/unknown.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/unknown.rs')
-rw-r--r--openpgp/src/packet/unknown.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/packet/unknown.rs b/openpgp/src/packet/unknown.rs
index 1302f407..b32c6fe8 100644
--- a/openpgp/src/packet/unknown.rs
+++ b/openpgp/src/packet/unknown.rs
@@ -224,6 +224,7 @@ impl std::convert::TryFrom<Packet> for Unknown {
Packet::PKESK(v) => convert(tag, common, v),
Packet::SKESK(v) => convert(tag, common, v),
Packet::MDC(v) => convert(tag, common, v),
+ Packet::Padding(v) => convert(tag, common, v), // XXX: can we do better like for the Literal?
// Here we can avoid copying the body.
Packet::Literal(mut v) => {