summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/include
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-11-25 15:59:54 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-12-09 13:26:48 +0100
commitfe8093bc1aef8c6a79fd1dc76f5cc857eae05d50 (patch)
tree1aa3021d49ec099e16083f12ca4aefcbf5fa1313 /openpgp-ffi/include
parent531e3252b86f6eacf02d7181c280e8c01c4a55f4 (diff)
openpgp: Return Result from Signature::key_alive.
- See #371.
Diffstat (limited to 'openpgp-ffi/include')
-rw-r--r--openpgp-ffi/include/sequoia/openpgp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp.h b/openpgp-ffi/include/sequoia/openpgp.h
index f35565d3..b93ebb05 100644
--- a/openpgp-ffi/include/sequoia/openpgp.h
+++ b/openpgp-ffi/include/sequoia/openpgp.h
@@ -501,8 +501,9 @@ bool pgp_signature_expired(pgp_signature_t signature, time_t when);
///
/// If `when` is 0, then the current time is used.
/*/
-bool pgp_signature_key_alive(pgp_signature_t signature, pgp_key_t key,
- time_t when);
+pgp_status_t pgp_signature_key_alive(pgp_error_t *errp,
+ pgp_signature_t signature, pgp_key_t key,
+ time_t when);
/*/
/// Returns whether the signature is expired at the specified time.