aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-06-30 19:40:24 +0000
committerWerner Koch <[email protected]>2003-06-30 19:40:24 +0000
commitf1b2c76fc686088e41a28f716fca5edb48dfd12e (patch)
treecb97eec8cba227cddaaba06611b45358f6c17166
parent2003-06-22 Marcus Brinkmann <[email protected]> (diff)
downloadlibgpg-error-f1b2c76fc686088e41a28f716fca5edb48dfd12e.tar.gz
libgpg-error-f1b2c76fc686088e41a28f716fca5edb48dfd12e.zip
* src/gpg-error.h: Add WRONG_CARD.
-rw-r--r--ChangeLog4
-rw-r--r--src/err-codes.h.in1
-rw-r--r--src/gpg-error.h4
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 10a3a29..753b39d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-30 Werner Koch <[email protected]>
+
+ * src/gpg-error.h: Add WRONG_CARD.
+
2003-06-22 Marcus Brinkmann <[email protected]>
* src/gpg-error.h: Fix value of GPG_ERR_CANCELED.
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 8609cf8..0be3fa6 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -108,6 +108,7 @@
88 Invalid name
89 Bad data
90 Invalid parameter
+91 Wrong card
92 No dirmngr
93 dirmngr error
94 Certificate revoced
diff --git a/src/gpg-error.h b/src/gpg-error.h
index dfd1a72..c30a5d6 100644
--- a/src/gpg-error.h
+++ b/src/gpg-error.h
@@ -170,8 +170,8 @@ typedef enum
GPG_ERR_BAD_DATA = 89,
GPG_ERR_INV_PARAMETER = 90,
- /* Code 91 is free to be used. */
-
+ GPG_ERR_WRONG_CARD = 91,
+
GPG_ERR_NO_DIRMNGR = 92,
GPG_ERR_DIRMNGR = 93,
GPG_ERR_CERT_REVOKED = 94,