aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Schulte <[email protected]>2003-10-28 09:27:53 +0000
committerMoritz Schulte <[email protected]>2003-10-28 09:27:53 +0000
commit1e8913cca23bc60aad7ff7e0bbb7fea5a58b0d5d (patch)
treeefeb4b5e6930588cea15b857fa64c4bfc479099c
parentFixed last fix: (diff)
downloadlibgpg-error-1e8913cca23bc60aad7ff7e0bbb7fea5a58b0d5d.tar.gz
libgpg-error-1e8913cca23bc60aad7ff7e0bbb7fea5a58b0d5d.zip
2003-10-28 Moritz Schulte <[email protected]>
* src/gpg-error.h (gpg_err_code_t): Added: GPG_ERR_NO_ENCODING_METHOD, GPG_ERR_NO_ENCRYPTION_SCHEME, GPG_ERR_NO_SIGNATURE_SCHEME. * src/err-codes.h.in: Likewise.
-rw-r--r--ChangeLog7
-rw-r--r--src/err-codes.h.in3
-rw-r--r--src/gpg-error.h5
3 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index de269bf..44cb605 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-10-28 Moritz Schulte <[email protected]>
+
+ * src/gpg-error.h (gpg_err_code_t): Added:
+ GPG_ERR_NO_ENCODING_METHOD, GPG_ERR_NO_ENCRYPTION_SCHEME,
+ GPG_ERR_NO_SIGNATURE_SCHEME.
+ * src/err-codes.h.in: Likewise.
+
2003-10-25 Werner Koch <[email protected]>
* src/strerror.c: Include stdio.h for snprintf
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. */