diff options
author | Werner Koch <[email protected]> | 2003-09-30 17:36:53 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-09-30 17:36:53 +0000 |
commit | add4ced9159c114ba42c2b9b8aa9ef49b5af2528 (patch) | |
tree | 9fbd558125860e5ffe9dde00995de89ea21e6356 | |
parent | 2003-09-13 Marcus Brinkmann <[email protected]> (diff) | |
download | libgpg-error-add4ced9159c114ba42c2b9b8aa9ef49b5af2528.tar.gz libgpg-error-add4ced9159c114ba42c2b9b8aa9ef49b5af2528.zip |
Add PIN_NOT_SYNCED.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/err-codes.h.in | 1 | ||||
-rw-r--r-- | src/gpg-error.h | 7 |
3 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2003-09-30 Werner Koch <[email protected]> + + * src/gpg-error.h: Add PIN_NOT_SYNCED. + 2003-09-13 Marcus Brinkmann <[email protected]> * configure.ac: Invoke AC_FUNC_STRERROR_R. 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, |