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.
This commit is contained in:
NIIBE Yutaka 2015-05-29 14:06:38 +09:00
parent fe5c6edaed
commit e5c69e87be
1 changed files with 1 additions and 1 deletions

View File

@ -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;