diff options
author | Werner Koch <[email protected]> | 2003-07-17 08:57:13 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-07-17 08:57:13 +0000 |
commit | 00bd02695f2524da39a3f4f08236d4ad374d8c50 (patch) | |
tree | a25e789c33379467d2a2cf1fc3d689ce00c4b889 | |
parent | 2003-07-16 Moritz Schulte <[email protected]> (diff) | |
download | libgpg-error-00bd02695f2524da39a3f4f08236d4ad374d8c50.tar.gz libgpg-error-00bd02695f2524da39a3f4f08236d4ad374d8c50.zip |
* src/gpg-error.h: Add HARDWARE, PIN_BLOCKED and USE_CONDITIONS.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/err-codes.h.in | 3 | ||||
-rw-r--r-- | src/gpg-error.h | 5 |
3 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2003-07-17 Werner Koch <[email protected]> + + * src/gpg-error.h: Add HARDWARE, PIN_BLOCKED and USE_CONDITIONS. + 2003-07-16 Moritz Schulte <[email protected]> * src/gpg-error.h (gpg_err_code): Cast return value to 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, |