summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-12-13 15:35:57 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-12-13 16:37:02 +0100
commit2dde931854b779562777b8946aa619c86fc821db (patch)
tree6060307277a7e4e0dc58f87f6b97c1b19f3bea0e /tool
parent5bef82801ced8f754552110959ad6fcfcf94c7ac (diff)
openpgp: Likewise for MDC.
Diffstat (limited to 'tool')
-rw-r--r--tool/src/commands/dump.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs
index 2b117585..324a34a9 100644
--- a/tool/src/commands/dump.rs
+++ b/tool/src/commands/dump.rs
@@ -648,10 +648,10 @@ impl PacketDumper {
},
MDC(ref m) => {
- writeln!(output, "{} Hash: {}",
- i, hex::encode(m.hash()))?;
- writeln!(output, "{} Computed hash: {}",
- i, hex::encode(m.computed_hash()))?;
+ writeln!(output, "{} Digest: {}",
+ i, hex::encode(m.digest()))?;
+ writeln!(output, "{} Computed digest: {}",
+ i, hex::encode(m.computed_digest()))?;
},
AED(ref a) => {