summaryrefslogtreecommitdiffstats
path: root/scd/app-common.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-03-05 17:17:39 +0100
committerWerner Koch <wk@gnupg.org>2019-03-05 17:17:39 +0100
commit64caa6a08298119b10dc36ddd27b357cb47825b5 (patch)
tree0cc16bc2ffcf1a5ebe83bdead8b9ea3b9088eb80 /scd/app-common.h
parentscd:piv: Implement import of private keys for Yubikeys. (diff)
downloadgnupg2-64caa6a08298119b10dc36ddd27b357cb47825b5.tar.xz
gnupg2-64caa6a08298119b10dc36ddd27b357cb47825b5.zip
scd: Rename a shared info field name.
* scd/app-piv.c (app_select_piv): * scd/app-common.h (struct app_ctx_s): Rename 'card_version' to 'cardversion'. Rename all users. Add 'appversion'. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'scd/app-common.h')
-rw-r--r--scd/app-common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scd/app-common.h b/scd/app-common.h
index 2404086e9..3df896228 100644
--- a/scd/app-common.h
+++ b/scd/app-common.h
@@ -60,7 +60,8 @@ struct app_ctx_s {
size_t serialnolen; /* Length in octets of serialnumber. */
const char *cardtype; /* NULL or string with the token's type. */
const char *apptype;
- unsigned int card_version;
+ unsigned int cardversion;/* Firmware version of the token or 0. */
+ unsigned int appversion; /* Version of the application or 0. */
unsigned int card_status;
unsigned int reset_requested:1;
unsigned int periodical_check_needed:1;