scd: Fix ECC support.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 4 Aug 2015 22:59:50 +0000 (07:59 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 4 Aug 2015 22:59:50 +0000 (07:59 +0900)
commit0751571cac0f5aef2862c34a184f7f09ad9cb203
tree5897a3b915b1617ffcb3e9f515bd828a89c01a9a
parent4a326d7c9a3b09efcccf4de00d6c003829ad89e8
scd: Fix ECC support.

* scd/app-openpgp.c (send_key_attr): Send KEYNO.
(get_public_key): Fix SEXP composing.
(ecc_writekey): Fix OID length calculation.
(ecc_oid): Prepend the length before query.
(parse_algorithm_attribute): Handle the case the curve is not available.
scd/app-openpgp.c