mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue