summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-01-21 14:27:26 +0100
committerNeal H. Walfield <neal@pep.foundation>2020-01-21 14:51:53 +0100
commit89e3c72cdca7312e2de68ceafd2b84beba98a6fd (patch)
tree32267c61010317b3220077aa6a6ff188f2dd2e35 /tool
parentbfb592e52b4c181312e022d7ebece59989ec6a42 (diff)
openpgp: Rename Cert::primary to Cert::primary_key.
Diffstat (limited to 'tool')
-rw-r--r--tool/src/commands/inspect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/inspect.rs b/tool/src/commands/inspect.rs
index fa16be32..3640aca9 100644
--- a/tool/src/commands/inspect.rs
+++ b/tool/src/commands/inspect.rs
@@ -133,7 +133,7 @@ fn inspect_cert(output: &mut dyn io::Write, cert: &openpgp::Cert,
writeln!(output)?;
writeln!(output, " Fingerprint: {}", cert.fingerprint())?;
inspect_revocation(output, "", cert.revoked(None))?;
- inspect_key(output, "", cert.primary(), cert.primary_key_signature(None),
+ inspect_key(output, "", cert.primary_key(), cert.primary_key_signature(None),
cert.certifications(),
print_keygrips, print_certifications)?;
writeln!(output)?;