aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-piv.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/app-piv.c')
-rw-r--r--scd/app-piv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app-piv.c b/scd/app-piv.c
index 6d6611572..5748c70b8 100644
--- a/scd/app-piv.c
+++ b/scd/app-piv.c
@@ -3292,7 +3292,7 @@ app_select_piv (app_t app)
err = gpg_error (GPG_ERR_CARD);
goto leave;
}
- app->card_version = ((s[4] << 8) | s[5]);
+ app->appversion = ((s[4] << 8) | s[5]);
s = find_tlv (apt, aptlen, 0x79, &n);
if (!s || n < 7)