summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-12-13 16:09:26 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-12-13 16:37:02 +0100
commit4f9b5460dbc66716823d4a0e9f94ad1e23ccf20a (patch)
treed3abe8ccc9762bba0e4644ad8da885976faf4a32 /tool
parent2dde931854b779562777b8946aa619c86fc821db (diff)
openpgp: Rename the hash prefix to digest prefix.
Diffstat (limited to 'tool')
-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 324a34a9..cd9c2cea 100644
--- a/tool/src/commands/dump.rs
+++ b/tool/src/commands/dump.rs
@@ -447,8 +447,8 @@ impl PacketDumper {
self.dump_subpacket(output, i, pkt, s)?;
}
}
- writeln!(output, "{} Hash prefix: {}", i,
- hex::encode(s.hash_prefix()))?;
+ writeln!(output, "{} Digest prefix: {}", i,
+ hex::encode(s.digest_prefix()))?;
write!(output, "{} Level: {} ", i, s.level())?;
match s.level() {
0 => writeln!(output, "(signature over data)")?,