aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMoritz Schulte <[email protected]>2003-09-02 00:05:19 +0000
committerMoritz Schulte <[email protected]>2003-09-02 00:05:19 +0000
commitf42723c09be11bcc59cb76793a87d03aff39e647 (patch)
treeaa41ccce3c57c16cc070e42e18ab1456ac055f69 /src
parent2003-08-19 Marcus Brinkmann <[email protected]> (diff)
downloadlibgpg-error-f42723c09be11bcc59cb76793a87d03aff39e647.tar.gz
libgpg-error-f42723c09be11bcc59cb76793a87d03aff39e647.zip
2003-09-02 Moritz Schulte <[email protected]>
* src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_PRIME. * src/err-codes.h.in: Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/err-codes.h.in1
-rw-r--r--src/gpg-error.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index a787a39..a46f521 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -48,6 +48,7 @@
18 Wrong secret key used
19 Bad session key
20 Unknown compression algorithm
+21 Number is not prime
30 Bad MPI value
31 Invalid passphrase
32 Invalid signature class
diff --git a/src/gpg-error.h b/src/gpg-error.h
index 7b71bea..260f135 100644
--- a/src/gpg-error.h
+++ b/src/gpg-error.h
@@ -109,8 +109,9 @@ typedef enum
GPG_ERR_WRONG_SECKEY = 18, /* Wrong secret key used. */
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. */
- /* Codes 21 to 29 are free to be used. */
+ /* Codes 22 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. */