mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-13 22:21:09 +02:00
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:
parent
fe5c6edaed
commit
e5c69e87be
@ -2755,7 +2755,7 @@ build_ecc_privkey_template (app_t app, int keyno,
|
|||||||
datalen = 0;
|
datalen = 0;
|
||||||
tp = privkey;
|
tp = privkey;
|
||||||
|
|
||||||
tp += add_tlv (tp, 0x91, ecc_d_len); /* Tag 0x91??? */
|
tp += add_tlv (tp, 0x92, ecc_d_len);
|
||||||
datalen += ecc_d_len;
|
datalen += ecc_d_len;
|
||||||
|
|
||||||
privkey_len = tp - privkey;
|
privkey_len = tp - privkey;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user