scd: Fix keytocard for ECC.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 17 Oct 2016 03:02:28 +0000 (12:02 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 17 Oct 2016 03:02:28 +0000 (12:02 +0900)
commit25428be52168fa9c581b7f11c95a5c63b25343b7
tree2fc6239c9b1026e9767dfec4bfac631bb6be9887
parent70a8584ec4389209762eb65bb77f20f7881577be
scd: Fix keytocard for ECC.

* scd/app-openpgp.c (build_ecc_privkey_template): Size can be greater
than 128 when it comes with public key for curve of larger field.

--

Reported-by: Arnaud Fontaine <arnaud.fontaine@ssi.gouv.fr>
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/app-openpgp.c