summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/include/sequoia/openpgp
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-12-09 11:57:22 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-12-09 12:10:40 +0100
commit7f3d55f777f44f9046ac91afe8e398984f1e4ba1 (patch)
tree4c3edeae026a56d8fadeb5c6ea327a2d13185c74 /openpgp-ffi/include/sequoia/openpgp
parentd4e3162c0c56a874f29a58d7fe84a8723b9516aa (diff)
openpgp: New errors Expired and NotYetLive.
Diffstat (limited to 'openpgp-ffi/include/sequoia/openpgp')
-rw-r--r--openpgp-ffi/include/sequoia/openpgp/error.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp/error.h b/openpgp-ffi/include/sequoia/openpgp/error.h
index 67a42ab6..00542290 100644
--- a/openpgp-ffi/include/sequoia/openpgp/error.h
+++ b/openpgp-ffi/include/sequoia/openpgp/error.h
@@ -132,6 +132,16 @@ typedef enum pgp_status {
/*/
PGP_STATUS_UNSUPPORTED_CERT = -24,
+ /*/
+ /// Expired.
+ /*/
+ PGP_STATUS_EXPIRED = -30,
+
+ /*/
+ /// Not yet live.
+ /*/
+ PGP_STATUS_NOT_YET_LIVE = -31,
+
/* Dummy value to make sure the enumeration has a defined size. Do
not use this value. */
PGP_STATUS_FORCE_WIDTH = INT_MAX,