aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-06-01 21:36:47 +0000
committerMarcus Brinkmann <[email protected]>2003-06-01 21:36:47 +0000
commit0d49e2656afb65311caf3d25d07473d917db8677 (patch)
tree09ff7f179151e30fd3ebc1f75808fb4046ee4834
parent2003-06-01 Marcus Brinkmann <[email protected]> (diff)
downloadlibgpg-error-0d49e2656afb65311caf3d25d07473d917db8677.tar.gz
libgpg-error-0d49e2656afb65311caf3d25d07473d917db8677.zip
Fix wrong error code.
-rw-r--r--src/err-codes.h.in2
-rw-r--r--src/gpg-error.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 1c9c871..109fe79 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -60,6 +60,7 @@
39 Time conflict
40 Keyserver error
41 Wrong public key algorithm
+42 Tribute to D. A.
43 Weak encryption key
44 Invalid key length
45 Invalid argument
@@ -105,7 +106,6 @@
88 Invalid name
89 Bad data
90 Invalid parameter
-91 Tribute to D. A.
92 No dirmngr
93 dirmngr error
94 Certificate revoced
diff --git a/src/gpg-error.h b/src/gpg-error.h
index 5c89f38..c9e1677 100644
--- a/src/gpg-error.h
+++ b/src/gpg-error.h
@@ -107,9 +107,7 @@ typedef enum
GPG_ERR_TIME_CONFLICT = 39,
GPG_ERR_KEYSERVER = 40,
GPG_ERR_WRONG_PUBKEY_ALGO = 41, /* Wrong public key algorithm. */
-
- /* Code 42 is free. */
-
+ GPG_ERR_TRIBUTE_TO_D_A = 42,
GPG_ERR_WEAK_KEY = 43, /* Weak encryption key. */
GPG_ERR_INV_KEYLEN = 44, /* Invalid length of a key. */
GPG_ERR_INV_ARG = 45, /* Invalid argument. */
@@ -161,7 +159,9 @@ typedef enum
GPG_ERR_INV_NAME = 88,
GPG_ERR_BAD_DATA = 89,
GPG_ERR_INV_PARAMETER = 90,
- GPG_ERR_TRIBUTE_TO_D_A = 91,
+
+ /* Code 91 is free. */
+
GPG_ERR_NO_DIRMNGR = 92,
GPG_ERR_DIRMNGR_ERROR = 93,
GPG_ERR_CERT_REVOKED = 94,