diff options
Diffstat (limited to 'tool')
-rw-r--r-- | tool/src/commands/dump.rs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs index 4702c63f..aed7fb15 100644 --- a/tool/src/commands/dump.rs +++ b/tool/src/commands/dump.rs @@ -749,13 +749,8 @@ impl PacketDumper { write!(output, "{} Trust signature: level {} trust {}", i, level, trust)?, RegularExpression(ref r) => - write!(output, "{} Regular expression: {} ({})", i, - String::from_utf8_lossy(r), - if r[r.len() - 1] == 0 { - "Required trailing NUL is present" - } else { - "Required trailing NUL is MISSING" - })?, + write!(output, "{} Regular expression: {}", i, + String::from_utf8_lossy(r))?, Revocable(r) => write!(output, "{} Revocable: {}", i, r)?, KeyExpirationTime(t) => |