summaryrefslogtreecommitdiffstats
path: root/openpgp/src/tpk/keyiter.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-09-17 17:40:23 +0200
committerNeal H. Walfield <neal@pep.foundation>2019-09-17 17:44:38 +0200
commitc2c61f44ac35e16051b2b6a3f0569265abdf15c8 (patch)
treea84fd2951bd2829041f841e19d0222708405881e /openpgp/src/tpk/keyiter.rs
parent1324bc3db18dbf9e27db2903515ac6c8f5b30704 (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 'openpgp/src/tpk/keyiter.rs')
-rw-r--r--openpgp/src/tpk/keyiter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/tpk/keyiter.rs b/openpgp/src/tpk/keyiter.rs
index 862aa2be..af9f8eae 100644
--- a/openpgp/src/tpk/keyiter.rs
+++ b/openpgp/src/tpk/keyiter.rs
@@ -96,7 +96,7 @@ impl<'a, P: 'a + key::KeyParts, R: 'a + key::KeyRole> Iterator
self.primary = true;
(tpk.primary_key_signature(None),
- tpk.revocation_status(),
+ tpk.revoked(None),
tpk.primary().key().into())
} else {
self.subkey_iter.next()