aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-09-30 17:36:53 +0000
committerWerner Koch <[email protected]>2003-09-30 17:36:53 +0000
commitadd4ced9159c114ba42c2b9b8aa9ef49b5af2528 (patch)
tree9fbd558125860e5ffe9dde00995de89ea21e6356 /src
parent2003-09-13 Marcus Brinkmann <[email protected]> (diff)
downloadlibgpg-error-add4ced9159c114ba42c2b9b8aa9ef49b5af2528.tar.gz
libgpg-error-add4ced9159c114ba42c2b9b8aa9ef49b5af2528.zip
Add PIN_NOT_SYNCED.
Diffstat (limited to 'src')
-rw-r--r--src/err-codes.h.in1
-rw-r--r--src/gpg-error.h7
2 files changed, 5 insertions, 3 deletions
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index a46f521..34b9c10 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -150,6 +150,7 @@
129 Hardware problem
130 PIN blocked
131 Conditions of use not satisfied
+132 PINs are not synced
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 08e20f6..cf6d2f5 100644
--- a/src/gpg-error.h
+++ b/src/gpg-error.h
@@ -220,10 +220,11 @@ typedef enum
GPG_ERR_WRONG_BLOB_TYPE = 127, /* Keybox BLOB of wrong type. */
GPG_ERR_MISSING_VALUE = 128, /* A required value is missing. */
- GPG_ERR_HARDWARE = 129, /* e.g. EEPROM error of a smartcard. */
+ 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_USE_CONDITIONS = 131, /* e.g. used with smartcards. */
+ GPG_ERR_PIN_NOT_SYNCED = 132, /* e.g. for OpenPGP card: CHV1 != CHV2. */
+ /* 133 to 149 are free to be used. */
GPG_ERR_INV_ENGINE = 150,
GPG_ERR_PUBKEY_NOT_TRUSTED = 151,