summaryrefslogtreecommitdiffstats
path: root/sqv
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 /sqv
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 'sqv')
-rw-r--r--sqv/src/sqv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqv/src/sqv.rs b/sqv/src/sqv.rs
index 03495107..4ef07ecd 100644
--- a/sqv/src/sqv.rs
+++ b/sqv/src/sqv.rs
@@ -273,7 +273,7 @@ fn real_main() -> Result<(), failure::Error> {
}
}
- if tpk.revocation_status_at(t)
+ if tpk.revoked(t)
!= RevocationStatus::NotAsFarAsWeKnow
{
eprintln!(