diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-01-20 15:03:11 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-01-21 15:31:48 +0100 |
commit | 25636524f825634dea803b35e0dba91d84750bd5 (patch) | |
tree | 326aa50a897210374217dace3eca093fc86f3025 /tool/src/commands/inspect.rs | |
parent | 8bcd94e6102b2bef2d21b9cca4c4659eb149a149 (diff) |
openpgp: Remove Cert::direct_signatures() and friends.
Diffstat (limited to 'tool/src/commands/inspect.rs')
-rw-r--r-- | tool/src/commands/inspect.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tool/src/commands/inspect.rs b/tool/src/commands/inspect.rs index 53597277..3d5b60c9 100644 --- a/tool/src/commands/inspect.rs +++ b/tool/src/commands/inspect.rs @@ -133,8 +133,9 @@ 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_key(), cert.primary_key_signature(None), - cert.certifications(), + let primary = cert.primary().binding(); + inspect_key(output, "", primary.key(), cert.primary_key_signature(None), + primary.certifications(), print_keygrips, print_certifications)?; writeln!(output)?; |