diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-05-07 12:34:43 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-05-07 12:34:43 +0200 |
commit | eaa915923246106485d0f70217f069d277935837 (patch) | |
tree | 2b1553c0ac002633040342ef3784db6eff734bc1 /openpgp-ffi | |
parent | 214e6a2cac09e29bcbae61cbccdeb58afa38611a (diff) |
openpgp-ffi: Fix return type
- pgp_tpk_builder_generate returns a pgp_status_t, not a pgp_tpk_t.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r-- | openpgp-ffi/include/sequoia/openpgp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp.h b/openpgp-ffi/include/sequoia/openpgp.h index 1e70a1bc..ac8117d3 100644 --- a/openpgp-ffi/include/sequoia/openpgp.h +++ b/openpgp-ffi/include/sequoia/openpgp.h @@ -864,8 +864,10 @@ void pgp_tpk_builder_add_certification_subkey(pgp_tpk_builder_t *tpkb); /// /// Consumes `tpkb`. /*/ -pgp_tpk_t pgp_tpk_builder_generate(pgp_error_t *errp, pgp_tpk_builder_t tpkb, - pgp_tpk_t *tpk, pgp_signature_t *revocation); +pgp_status_t pgp_tpk_builder_generate(pgp_error_t *errp, + pgp_tpk_builder_t tpkb, + pgp_tpk_t *tpk, + pgp_signature_t *revocation); /* TSK */ |