aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-07-17 08:57:13 +0000
committerWerner Koch <[email protected]>2003-07-17 08:57:13 +0000
commit00bd02695f2524da39a3f4f08236d4ad374d8c50 (patch)
treea25e789c33379467d2a2cf1fc3d689ce00c4b889 /src
parent2003-07-16 Moritz Schulte <[email protected]> (diff)
downloadlibgpg-error-00bd02695f2524da39a3f4f08236d4ad374d8c50.tar.gz
libgpg-error-00bd02695f2524da39a3f4f08236d4ad374d8c50.zip
* src/gpg-error.h: Add HARDWARE, PIN_BLOCKED and USE_CONDITIONS.
Diffstat (limited to 'src')
-rw-r--r--src/err-codes.h.in3
-rw-r--r--src/gpg-error.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 0be3fa6..13f9059 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -146,6 +146,9 @@
126 Nothing found
127 Wrong blob type
128 Missing value
+129 Hardware problem
+130 PIN blocked
+131 Conditions of use not satisfied
150 Invalid crypto engine
151 Public key not trusted
152 Decryption failed
diff --git a/src/gpg-error.h b/src/gpg-error.h
index dc75c82..a964579 100644
--- a/src/gpg-error.h
+++ b/src/gpg-error.h
@@ -217,7 +217,10 @@ typedef enum
GPG_ERR_WRONG_BLOB_TYPE = 127, /* Keybox BLOB of wrong type. */
GPG_ERR_MISSING_VALUE = 128, /* A required value is missing. */
- /* 129 to 149 are free to be used. */
+ GPG_ERR_HARDWARE = 129, /* e.g. EEPROM error of a smartcard. */
+ GPG_ERR_PIN_BLOCKED = 130,
+ GPG_ERR_USE_CONDITIONS = 131, /* e.g. used with smartcards. */
+ /* 132 to 149 are free to be used. */
GPG_ERR_INV_ENGINE = 150,
GPG_ERR_PUBKEY_NOT_TRUSTED = 151,