aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-common.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-07-24 09:06:13 +0000
committerWerner Koch <[email protected]>2003-07-24 09:06:13 +0000
commitba188097c0305ff23146c6ec175ab6e238a8e1be (patch)
tree21255adad7be9a2e62ab1ff53c0f309c2e92248a /scd/app-common.h
parent* command.c (cmd_pkauth): New. (diff)
downloadgnupg-ba188097c0305ff23146c6ec175ab6e238a8e1be.tar.gz
gnupg-ba188097c0305ff23146c6ec175ab6e238a8e1be.zip
* app-openpgp.c (do_learn_status): Print more status information.
(app_select_openpgp): Store the card version. (store_fpr): Add argument card_version and fix DOs for old cards. (app_openpgp_storekey): Likewise.
Diffstat (limited to 'scd/app-common.h')
-rw-r--r--scd/app-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/app-common.h b/scd/app-common.h
index 108d5ecdd..282f82715 100644
--- a/scd/app-common.h
+++ b/scd/app-common.h
@@ -29,6 +29,7 @@ struct app_ctx_s {
int slot; /* Used reader. */
unsigned char *serialno; /* Serialnumber in raw form, allocated. */
size_t serialnolen; /* Length in octets of serialnumber. */
+ unsigned int card_version;
int did_chv1;
int did_chv2;
int did_chv3;