summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/include/sequoia/openpgp/types.h
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-11-09 23:55:02 +0100
committerNeal H. Walfield <neal@pep.foundation>2019-11-10 00:05:23 +0100
commitb8e5ef908ee211daee84a0782a115ae7fc003ec0 (patch)
tree360698ced26dc36aad015e11b89137d613b89208 /openpgp-ffi/include/sequoia/openpgp/types.h
parent365862ed513057900c0d6c106ec51dff0a09693e (diff)
openpgp: Distinguish bad signatures from those that are not alive.
- Return a different `VerificationResult` for signatures that are not alive (BadSignature) from signatures that are actually bad (BadCheck).
Diffstat (limited to 'openpgp-ffi/include/sequoia/openpgp/types.h')
-rw-r--r--openpgp-ffi/include/sequoia/openpgp/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp/types.h b/openpgp-ffi/include/sequoia/openpgp/types.h
index d7a8271e..8dbd890b 100644
--- a/openpgp-ffi/include/sequoia/openpgp/types.h
+++ b/openpgp-ffi/include/sequoia/openpgp/types.h
@@ -480,6 +480,7 @@ typedef enum pgp_verification_result_variant {
PGP_VERIFICATION_RESULT_GOOD_CHECKSUM = 1,
PGP_VERIFICATION_RESULT_MISSING_KEY = 2,
PGP_VERIFICATION_RESULT_BAD_CHECKSUM = 3,
+ PGP_VERIFICATION_RESULT_NOT_ALIVE = 4,
/* Dummy value to make sure the enumeration has a defined size. Do
not use this value. */