aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-card.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpg-card.h')
-rw-r--r--tools/gpg-card.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gpg-card.h b/tools/gpg-card.h
index 18ff5f68d..bd4b923e7 100644
--- a/tools/gpg-card.h
+++ b/tools/gpg-card.h
@@ -172,8 +172,11 @@ struct card_info_s
required for each signing. Note that the
gpg-agent might cache it anyway. */
int is_v2; /* True if this is a v2 openpgp card. */
+ byte nchvmaxlen; /* Number of valid items in CHVMAXLEN. */
int chvmaxlen[4]; /* Maximum allowed length of a CHV. */
+ byte nchvinfo; /* Number of valid items in CHVINFO. */
int chvinfo[4]; /* Allowed retries for the CHV; 0 = blocked. */
+ char *chvlabels; /* Malloced String with CHV labels. */
unsigned char chvusage[2]; /* Data object 5F2F */
struct {
unsigned int ki:1; /* Key import available. */