From f42723c09be11bcc59cb76793a87d03aff39e647 Mon Sep 17 00:00:00 2001 From: Moritz Schulte Date: Tue, 2 Sep 2003 00:05:19 +0000 Subject: 2003-09-02 Moritz Schulte * src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_PRIME. * src/err-codes.h.in: Likewise. --- src/err-codes.h.in | 1 + src/gpg-error.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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. */ -- cgit v1.2.3