Home GnuPG
Diffusion GnuPG 1d88e14de751

gpg: Remove a mostly duplicated function.

Description

gpg: Remove a mostly duplicated function.

* g10/export.c (receive_seckey_from_agent): Add arg r_key.
(do_export_one_keyblock): Pass NULL for new arg.
(receive_raw_seckey_from_agent): Remove.
(export_secret_ssh_key): Use receive_seckey_from_agent.
* g10/keygen.c (card_store_key_with_backup): Pass NULL for new arg.

Details

Provenance
wernerAuthored on Dec 1 2022, 12:28 PM
Parents
rG0a93b5b96a3b: tests: Simplify fake-pinentry to use the option only.
Branches
Unknown
Tags
Unknown