aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-openpgp.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2015-05-29 05:06:38 +0000
committerNIIBE Yutaka <[email protected]>2015-05-29 05:06:38 +0000
commite5c69e87beebe99d362ac721ce4ea6b057a30a99 (patch)
tree447cf825188fea152df9670d5d57bd9a04dab27b /scd/app-openpgp.c
parentg10: Fix a race condition initially creating trustdb. (diff)
downloadgnupg-e5c69e87beebe99d362ac721ce4ea6b057a30a99.tar.gz
gnupg-e5c69e87beebe99d362ac721ce4ea6b057a30a99.zip
scd: Fix key template of ECC.
* scd/app-openpgp.c (build_ecc_privkey_template): Use correct value. -- Forthcoming OpenPGPcard specification 3.0 will address this 0x92.
Diffstat (limited to 'scd/app-openpgp.c')
-rw-r--r--scd/app-openpgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index 10bd64e6a..85202313b 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -2755,7 +2755,7 @@ build_ecc_privkey_template (app_t app, int keyno,
datalen = 0;
tp = privkey;
- tp += add_tlv (tp, 0x91, ecc_d_len); /* Tag 0x91??? */
+ tp += add_tlv (tp, 0x92, ecc_d_len);
datalen += ecc_d_len;
privkey_len = tp - privkey;