diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-10-17 17:13:01 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-10-17 17:13:01 +0200 |
commit | 88ecca3f0b1b8b5877790fc192c0fb8f46f36a7f (patch) | |
tree | 58f2255374033c4a513b9ad72ccf788df60174f2 /ffi/include | |
parent | 39e164ed7984fa0502f844939198e1b2212057a2 (diff) |
openpgp: Remove unused errors.
- If an algorithm (or tag) is unknown, this is not an error in
Sequoia. If we do not support an algorithm (or tag), or choose
not to support it, we return the unsupported algorithm (or tag)
error.
Diffstat (limited to 'ffi/include')
-rw-r--r-- | ffi/include/sequoia/error.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ffi/include/sequoia/error.h b/ffi/include/sequoia/error.h index d7a1e680..f9e2cd1c 100644 --- a/ffi/include/sequoia/error.h +++ b/ffi/include/sequoia/error.h @@ -43,26 +43,6 @@ typedef enum sq_status { SQ_STATUS_MALFORMED_PACKET = -5, /*/ - /// Unknown packet type. - /*/ - SQ_STATUS_UNKNOWN_PACKET_TAG = -6, - - /*/ - /// Unknown hash algorithm. - /*/ - SQ_STATUS_UNKNOWN_HASH_ALGORITHM = -7, - - /*/ - /// Unknown public key algorithm. - /*/ - SQ_STATUS_UNKNOWN_PUBLICKEY_ALGORITHM = -17, - - /*/ - /// Unknown symmetric algorithm. - /*/ - SQ_STATUS_UNKNOWN_SYMMETRIC_ALGORITHM = -8, - - /*/ /// Unsupported hash algorithm. /*/ SQ_STATUS_UNSUPPORTED_HASH_ALGORITHM = -9, |