summaryrefslogtreecommitdiffstats
path: root/ffi/include
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-12-27 16:25:42 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-01-10 14:44:39 +0100
commitd678ea32802a4896b95fc9b01c86ba7114fb2b9f (patch)
tree377de42676043931b7ea1ef65d7088119ec86f39 /ffi/include
parent6e53bb4f673786acee95a416fbf7859659d626b7 (diff)
openpgp: Use Signer when revoking TPKs.
Diffstat (limited to 'ffi/include')
-rw-r--r--ffi/include/sequoia/openpgp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ffi/include/sequoia/openpgp.h b/ffi/include/sequoia/openpgp.h
index 7b1aa3b6..6fe71f6b 100644
--- a/ffi/include/sequoia/openpgp.h
+++ b/ffi/include/sequoia/openpgp.h
@@ -894,7 +894,9 @@ sq_revocation_status_t sq_tpk_revocation_status (sq_tpk_t tpk);
/// This function consumes the writer. It does *not* consume tpk.
/*/
sq_signature_t sq_tpk_revoke (sq_context_t ctx,
- sq_tpk_t tpk, sq_reason_for_revocation_t code,
+ sq_tpk_t tpk,
+ sq_signer_t primary_signer,
+ sq_reason_for_revocation_t code,
const char *reason);
/*/
@@ -904,6 +906,7 @@ sq_signature_t sq_tpk_revoke (sq_context_t ctx,
/*/
sq_tpk_t sq_tpk_revoke_in_place (sq_context_t ctx,
sq_tpk_t tpk,
+ sq_signer_t primary_signer,
sq_reason_for_revocation_t code,
const char *reason);