From 00bd02695f2524da39a3f4f08236d4ad374d8c50 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 17 Jul 2003 08:57:13 +0000 Subject: * src/gpg-error.h: Add HARDWARE, PIN_BLOCKED and USE_CONDITIONS. --- src/err-codes.h.in | 3 +++ src/gpg-error.h | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3