g10: Support ECC for gen_card_key.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 21 Oct 2016 04:59:09 +0000 (13:59 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 21 Oct 2016 04:59:09 +0000 (13:59 +0900)
commit161cb22f13bcd8cbdb08558d9926b2168a8297ac
tree9353f7c2cfa7c12d374709f7548a29e96adc1885
parent6e85ac77af594035137950d801d8a1bacce548a3
g10: Support ECC for gen_card_key.

* g10/keygen.c (gen_card_key): Remove the first argument of ALGO.
(do_generate_keypair, generate_card_subkeypair): Follow the change.

--
ALGO is determined by the key attribute of the card.

Co-authored-by: Arnaud Fontaine <arnaud.fontaine@ssi.gouv.fr>
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/keygen.c