summaryrefslogtreecommitdiffstats
path: root/tool/src
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-08-17 16:23:59 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-08-17 16:41:44 +0200
commit303057988fe6dde9aacaaa827806de1f7426984a (patch)
tree45e3a30cfc8855517b972b7d9682007d6dc2a428 /tool/src
parent3d6e450c38fc3c19d8afb8d00a052edd1f2fe4b8 (diff)
openpgp: Rename PublicKey::keygrip to Keygrip::of.
- This allows us to move Keygrip to a different crate.
Diffstat (limited to 'tool/src')
-rw-r--r--tool/src/commands/inspect.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/src/commands/inspect.rs b/tool/src/commands/inspect.rs
index c1f12120..8e475bbf 100644
--- a/tool/src/commands/inspect.rs
+++ b/tool/src/commands/inspect.rs
@@ -246,8 +246,9 @@ fn inspect_key(policy: &dyn Policy,
};
if print_keygrips {
+ use openpgp::crypto::Keygrip;
writeln!(output, "{} Keygrip: {}", indent,
- key.mpis().keygrip()?)?;
+ Keygrip::of(key.mpis())?)?;
}
writeln!(output, "{}Public-key algo: {}", indent, key.pk_algo())?;
if let Some(bits) = key.mpis().bits() {