diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-02-06 16:55:59 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-02-06 16:55:59 +0100 |
commit | b62ea3af257e8d2ccb2555959e047f7ea41eb0d6 (patch) | |
tree | 458678ca6d805d78ed30e548f0d2516dc6eef1e9 /openpgp-ffi/include/sequoia/openpgp | |
parent | bb19d1ad4b58b6392e0c9588809f690c9e403783 (diff) |
openpgp: New error for unsupported packet types.
Diffstat (limited to 'openpgp-ffi/include/sequoia/openpgp')
-rw-r--r-- | openpgp-ffi/include/sequoia/openpgp/error.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp/error.h b/openpgp-ffi/include/sequoia/openpgp/error.h index 157eb44d..2924b8c9 100644 --- a/openpgp-ffi/include/sequoia/openpgp/error.h +++ b/openpgp-ffi/include/sequoia/openpgp/error.h @@ -43,6 +43,11 @@ typedef enum pgp_status { PGP_STATUS_MALFORMED_PACKET = -5, /*/ + /// Unsupported packet type. + /*/ + PGP_STATUS_UNSUPPORTED_PACKET_TYPE = -14, + + /*/ /// Unsupported hash algorithm. /*/ PGP_STATUS_UNSUPPORTED_HASH_ALGORITHM = -9, |