From add4ced9159c114ba42c2b9b8aa9ef49b5af2528 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 30 Sep 2003 17:36:53 +0000 Subject: Add PIN_NOT_SYNCED. --- ChangeLog | 4 ++++ src/err-codes.h.in | 1 + src/gpg-error.h | 7 ++++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 57103fd..10731b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-09-30 Werner Koch + + * src/gpg-error.h: Add PIN_NOT_SYNCED. + 2003-09-13 Marcus Brinkmann * 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, -- cgit v1.2.3