summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-02-21 12:05:26 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-02-21 12:05:26 +0100
commit31514f6fddc8001906e0ba628cb772a9a54d2428 (patch)
treef37d15f400ae7540b4945da57d6da4fe5f7053ef /tool
parent923a649ac169fc5210b730017e23557b74ccceaf (diff)
openpgp: Remove bare implementations of serialized_len on MPIs.
- SerializeInto::serialized_len() provides the same.
Diffstat (limited to 'tool')
-rw-r--r--tool/src/commands/dump.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs
index 26483865..2ef4f1b0 100644
--- a/tool/src/commands/dump.rs
+++ b/tool/src/commands/dump.rs
@@ -501,6 +501,8 @@ impl PacketDumper {
self.dump_mpis(output, &ii, &[&rest[..]], &["rest"])?;
},
+ mpis::Signature::__Nonexhaustive => unreachable!(),
+
}
}
},