agent: Fix importing ECC key.
authorNIIBE Yutaka <gniibe@fsij.org>
Sat, 19 Sep 2015 08:45:17 +0000 (17:45 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Sat, 19 Sep 2015 08:45:17 +0000 (17:45 +0900)
commit1542dc604b9c3e6a6a99750c48f7800e72584a89
tree39edf5520fc7546a3441e47dcbedc69cdc0ae9ac
parent708b7eccdef8d274bd5578b9a5fd908e9685c795
agent: Fix importing ECC key.

* agent/cvt-openpgp.c (convert_from_openpgp_main): Only encrypted
parameters are stored as opaque.
(apply_protection): ARRAY members are all normal, non-opaque MPI.
(extract_private_key): Get public key as normal, non-opaque MPI.
Remove support of ECC key with '(flags param)'.
Remove support of "ecdsa" and "ecdh" keys of our experiment.
agent/cvt-openpgp.c