Home GnuPG
Diffusion GnuPG 8c63430d1a40

gpg: Rename the struct card_key_info_s.

Description

gpg: Rename the struct card_key_info_s.

* g10/call-agent.h (struct card_key_info_s): Rename to ...
(struct keypair_info_s): this.
(keypair_info_t): New.  Use this everywhere instead of
card_key_info_s.
* g10/call-agent.c (agent_scd_free_keyinfo): Rename to ..
(free_keypair_info): this.  Change all callers.

The struct is also useful to store the data from KEYPAIRINFO status
lines. Thus renaming it makes sense. A future patch will extend the
struct.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 12 2020, 5:29 PM
Parents
rG125c959677d5: card: Fix parsing of the received card_list.
Branches
Unknown
Tags
Unknown