diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2015-05-29 07:06:38 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2015-05-29 07:06:38 +0200 |
commit | e5c69e87beebe99d362ac721ce4ea6b057a30a99 (patch) | |
tree | 447cf825188fea152df9670d5d57bd9a04dab27b | |
parent | g10: Fix a race condition initially creating trustdb. (diff) | |
download | gnupg2-e5c69e87beebe99d362ac721ce4ea6b057a30a99.tar.xz gnupg2-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.
-rw-r--r-- | scd/app-openpgp.c | 2 |
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; |