summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/include
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-02-10 16:24:07 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-02-11 15:25:35 +0100
commit8ef8eafbd072d01755d137b60003bee7bfe9cbe9 (patch)
tree72dba12580449cc7d5e51fec1bab55a51ee5ff69 /openpgp-ffi/include
parent54b909ef2c75f9027b5959171d4d995015f159cb (diff)
openpgp: Call 'expiration time' a 'validity period'.
- The former is a misnomer inherited from the RFC: It is a duration, not a point in time. 'Validity period' makes that clear, and also emphasizes that the key or signature is valid during that period. - See #429.
Diffstat (limited to 'openpgp-ffi/include')
-rw-r--r--openpgp-ffi/include/sequoia/openpgp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp.h b/openpgp-ffi/include/sequoia/openpgp.h
index 7f2d0b28..08b035bf 100644
--- a/openpgp-ffi/include/sequoia/openpgp.h
+++ b/openpgp-ffi/include/sequoia/openpgp.h
@@ -928,7 +928,7 @@ pgp_status_t pgp_cert_alive(pgp_error_t *errp, pgp_cert_t cert,
///
/// This function consumes `cert` and returns a new `Cert`.
/*/
-pgp_cert_t pgp_cert_set_expiration_time(pgp_error_t *errp,
+pgp_cert_t pgp_cert_set_validity_period(pgp_error_t *errp,
pgp_cert_t cert,
pgp_policy_t policy,
pgp_signer_t signer,