Home GnuPG
Diffusion GnuPG 10f8bb167138

scd:openpgp: Use shared fucntion for the dispserialno.

Description

scd:openpgp: Use shared fucntion for the dispserialno.

* scd/app-openpgp.c (wipe_and_free): New.
(wipe_and_free_string): New.
(get_disp_serialno): Remove.  Replace callers by function
app_get_dispserialno.
(get_usage_string): New.
(send_keypair_info): Use new function.

The new function has the same behaviour. The wipe functions are
not yet used.

Details

Provenance
wernerAuthored on Oct 11 2023, 9:38 AM
Parents
rGfe683a1d7cdf: scd:openpgp: Some comment updates
Branches
Unknown
Tags
Unknown