summaryrefslogtreecommitdiffstats
path: root/tool/src/commands/dump.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tool/src/commands/dump.rs')
-rw-r--r--tool/src/commands/dump.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs
index 3cdd7c0a..27619b7a 100644
--- a/tool/src/commands/dump.rs
+++ b/tool/src/commands/dump.rs
@@ -260,7 +260,7 @@ impl PacketDumper {
Signature(ref s) => {
writeln!(output, "Signature Packet")?;
writeln!(output, "{} Version: {}", i, s.version())?;
- writeln!(output, "{} Type: {}", i, s.sigtype())?;
+ writeln!(output, "{} Type: {}", i, s.typ())?;
writeln!(output, "{} Pk algo: {}", i, s.pk_algo())?;
writeln!(output, "{} Hash algo: {}", i, s.hash_algo())?;
if s.hashed_area().iter().count() > 0 {
@@ -333,7 +333,7 @@ impl PacketDumper {
OnePassSig(ref o) => {
writeln!(output, "One-Pass Signature Packet")?;
writeln!(output, "{} Version: {}", i, o.version())?;
- writeln!(output, "{} Type: {}", i, o.sigtype())?;
+ writeln!(output, "{} Type: {}", i, o.typ())?;
writeln!(output, "{} Pk algo: {}", i, o.pk_algo())?;
writeln!(output, "{} Hash algo: {}", i, o.hash_algo())?;
writeln!(output, "{} Issuer: {}", i, o.issuer())?;