Home GnuPG
Diffusion GnuPG 334e993a71d3

gpg: Remove C-99ism, re-indent, and simplify one function.
334e993a71d3Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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>

Details

Provenance
wernerAuthored on Jun 11 2016, 8:42 PM
Parents
rG5ba99d9302cd: common: New function split_fields.
Branches
Unknown
Tags
Unknown

Event Timeline