g10,scd: Fix ECC keygen.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 21 Oct 2016 12:37:04 +0000 (21:37 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 21 Oct 2016 12:37:04 +0000 (21:37 +0900)
commitd2653b1a6db90aed073194a51fd61023d69773ec
tree78b024d7a0753011194d53c70b02c33dd0d65c5c
parent693e657ff04756737dce025203c0deba480ea8de
g10,scd: Fix ECC keygen.

* g10/keygen.c (generate_keypair): For card key generation, fill
parameters by KEY-ATTR.

* scd/app-openpgp.c (ecc_read_pubkey): OID should be freed at last,
after its reference by OIDBUF is finished.
(ecc_writekey): Likewise.
--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/call-agent.c
g10/keygen.c
scd/app-openpgp.c