diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-09-17 17:40:23 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-09-17 17:44:38 +0200 |
commit | c2c61f44ac35e16051b2b6a3f0569265abdf15c8 (patch) | |
tree | a84fd2951bd2829041f841e19d0222708405881e /tool | |
parent | 1324bc3db18dbf9e27db2903515ac6c8f5b30704 (diff) |
openpgp: Rename TPK::revocation_status to TPK::revoked.
- Combine TPK::revocation_status and TPK::revocation_status_at; only
keep the version with the optional time parameter.
- Rename TPK::revocation_status to TPK::revoked to match
KeyBinding::revoked, UserIDBinding::revoked, and
UserAttributeBinding::revoked.
- Do the same for the C API.
Diffstat (limited to 'tool')
-rw-r--r-- | tool/src/commands/inspect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/inspect.rs b/tool/src/commands/inspect.rs index bec79b1d..ac167e12 100644 --- a/tool/src/commands/inspect.rs +++ b/tool/src/commands/inspect.rs @@ -130,7 +130,7 @@ fn inspect_tpk(output: &mut io::Write, tpk: &openpgp::TPK, if tpk.is_tsk() { "Secret" } else { "Public" })?; writeln!(output)?; writeln!(output, " Fingerprint: {}", tpk.fingerprint())?; - inspect_revocation(output, "", tpk.revocation_status())?; + inspect_revocation(output, "", tpk.revoked(None))?; inspect_key(output, "", tpk.primary().key(), tpk.primary_key_signature(None), tpk.primary().certifications(), print_keygrips, print_certifications)?; |