summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/include
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-05-17 11:15:06 +0200
committerNeal H. Walfield <neal@pep.foundation>2019-05-17 11:15:06 +0200
commit6405b3626bac09e332eb534a0adf1f9f049e033b (patch)
tree77701db14822310beeee1e2ca471c897c6b50e30 /openpgp-ffi/include
parent3ffbc7318288ab65850c13b35e5bd0785e9528d5 (diff)
openpgp-ffi: Fix documentation.
- The documentation for pgp_tpk_key_iter_all and pgp_tpk_key_iter_valid was backwards.
Diffstat (limited to 'openpgp-ffi/include')
-rw-r--r--openpgp-ffi/include/sequoia/openpgp.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp.h b/openpgp-ffi/include/sequoia/openpgp.h
index b1b2ab3a..13f51d24 100644
--- a/openpgp-ffi/include/sequoia/openpgp.h
+++ b/openpgp-ffi/include/sequoia/openpgp.h
@@ -837,14 +837,6 @@ int pgp_tpk_is_tsk(pgp_tpk_t tpk);
pgp_user_id_binding_iter_t pgp_tpk_user_id_binding_iter (pgp_tpk_t tpk);
/*/
-/// Returns an iterator over the live and unrevoked `Key`s in a TPK.
-///
-/// Compare with `pgp_tpk_key_iter_valid`, which doesn'filters out
-/// expired and revoked keys by default.
-/*/
-pgp_tpk_key_iter_t pgp_tpk_key_iter_all (pgp_tpk_t tpk);
-
-/*/
/// Returns an iterator over all `Key`s in a TPK.
///
/// That is, this returns an iterator over the primary key and any
@@ -860,9 +852,17 @@ pgp_tpk_key_iter_t pgp_tpk_key_iter_all (pgp_tpk_t tpk);
///
/// A valid `Key` has at least one good self-signature.
///
-/// Compare with `pgp_tpk_key_iter_all`, which filters out expired and
+/// Compare with `pgp_tpk_key_iter_valid`, which filters out expired and
/// revoked keys.
/*/
+pgp_tpk_key_iter_t pgp_tpk_key_iter_all (pgp_tpk_t tpk);
+
+/*/
+/// Returns an iterator over the live and unrevoked `Key`s in a TPK.
+///
+/// Compare with `pgp_tpk_key_iter_all`, which doesn't filter out
+/// expired and revoked keys by default.
+/*/
pgp_tpk_key_iter_t pgp_tpk_key_iter_valid (pgp_tpk_t tpk);
/*/