summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-12-18 13:00:42 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-12-18 13:01:20 +0100
commite0ebe3eba4257266822f62aa22809aa9b5ade56c (patch)
treeedadfb0328f5a24f18af7c4c05019cf3eb2e7df4 /tool
parent7b702d3a2e6803417b80fca4d31362cfe0867dd7 (diff)
openpgp: Drop SubpacketValue::Invalid.
- As of 2524e1aa5fc2419956e7ab14e9fb6554f7c1d350, this variant is no longer needed.
Diffstat (limited to 'tool')
-rw-r--r--tool/src/commands/dump.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs
index de6ec320..92160f39 100644
--- a/tool/src/commands/dump.rs
+++ b/tool/src/commands/dump.rs
@@ -727,11 +727,6 @@ impl PacketDumper {
if s.critical() { " (critical)" } else { "" })?;
hexdump_unknown(output, b)?;
},
- Invalid(ref b) => {
- writeln!(output, "{} {:?}{}:", i, s.tag(),
- if s.critical() { " (critical)" } else { "" })?;
- hexdump_unknown(output, b)?;
- },
SignatureCreationTime(t) =>
write!(output, "{} Signature creation time: {}", i,
(*t).convert())?,
@@ -815,7 +810,7 @@ impl PacketDumper {
}
match s.value() {
- Unknown(_) | Invalid(_) => (),
+ Unknown(_) => (),
EmbeddedSignature(ref sig) => {
if s.critical() {
write!(output, " (critical)")?;