gpg: Remove C-99ism, re-indent, and simplify one function.
authorWerner Koch <wk@gnupg.org>
Sat, 11 Jun 2016 18:42:28 +0000 (20:42 +0200)
committerWerner Koch <wk@gnupg.org>
Sat, 11 Jun 2016 18:42:28 +0000 (20:42 +0200)
commit334e993a71d3abb7d30cb5ee05d578cecf0c3f67
treeb6568285407f5ade2e89cbec9ca33cfeb77f6f9b
parent5ba99d9302cd86aee99958b71075d5288bb430aa
gpg: Remove C-99ism, re-indent, and simplify one function.

* g10/call-agent.c (struct keyinfo_data): Rename to
keyinfo_data_parm_s.
(agent_get_keyinfo): Replace C-99 style init.
(keyinfo_status_cb): Use new fucntion split_fields.
* g10/export.c (match_curve_skey_pk): Add missings returns error
cases.
(cleartext_secret_key_to_openpgp): Better clear PK->PKEY first.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/call-agent.c
g10/export.c
g10/keygen.c
g10/keylist.c