summaryrefslogtreecommitdiffstats
path: root/ffi/src
diff options
context:
space:
mode:
authorKai Michaelis <kai@sequoia-pgp.org>2019-01-16 18:16:28 +0100
committerKai Michaelis <kai@sequoia-pgp.org>2019-01-17 15:32:03 +0100
commit9d16749a976afb02df3b174c8c713b635af40075 (patch)
tree33c492ab6cff5938c7f4df78d0671d9c8ffc8027 /ffi/src
parent23e1f441997e082d8ca876853a88ee54b0be4676 (diff)
openpgp: allow checking if a sig is revoked at a specific time.
Adds an argument to *::revoked to give a timepoint. The function will then return the revokation status at this time instead of now.
Diffstat (limited to 'ffi/src')
-rw-r--r--ffi/src/openpgp/tpk.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/src/openpgp/tpk.rs b/ffi/src/openpgp/tpk.rs
index e93827fe..7444f754 100644
--- a/ffi/src/openpgp/tpk.rs
+++ b/ffi/src/openpgp/tpk.rs
@@ -220,7 +220,7 @@ pub extern "system" fn sq_tpk_primary(tpk: *const TPK)
pub extern "system" fn sq_tpk_revocation_status(tpk: *const TPK)
-> *mut RevocationStatus<'static> {
let tpk = ffi_param_ref!(tpk);
- box_raw!(tpk.revoked())
+ box_raw!(tpk.revoked(None))
}
fn int_to_reason_for_revocation(code: c_int) -> ReasonForRevocation {