diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/err-codes.h.in | 3 | ||||
-rw-r--r-- | src/gpg-error.h | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/err-codes.h.in b/src/err-codes.h.in index 34b9c10..db03dc0 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -49,6 +49,9 @@ 19 Bad session key 20 Unknown compression algorithm 21 Number is not prime +22 Invalid encoding method +23 Invalid encryption scheme +24 Invalid signature scheme 30 Bad MPI value 31 Invalid passphrase 32 Invalid signature class diff --git a/src/gpg-error.h b/src/gpg-error.h index 5f92564..74121bb 100644 --- a/src/gpg-error.h +++ b/src/gpg-error.h @@ -114,8 +114,11 @@ typedef enum GPG_ERR_BAD_KEY = 19, /* Bad (session) key. */ GPG_ERR_COMPR_ALGO = 20, /* Unknown compress algorithm. */ GPG_ERR_NO_PRIME = 21, /* Number is not prime. */ + GPG_ERR_NO_ENCODING_METHOD = 22, /* Invalid encoding method. */ + GPG_ERR_NO_ENCRYPTION_SCHEME = 23, /* Invalid encryption scheme. */ + GPG_ERR_NO_SIGNATURE_SCHEME = 24, /* Invalid signature scheme. */ - /* Codes 22 to 29 are free to be used. */ + /* Codes 25 to 29 are free to be used. */ GPG_ERR_BAD_MPI = 30, /* Problem with an MPI's value. */ GPG_ERR_INV_PASSPHRASE = 31, /* Invalid passphrase. */ |