Home GnuPG
Diffusion GnuPG c564a297abd3

gpg: Refactor an import function for better readability.

Description

gpg: Refactor an import function for better readability.

* g10/import.c (transfer_secret_keys): Factor some code out to ...
(build_classic_transfer_sexp): new and ..
(internal_skey_object_to_sexp): new.

Details

Provenance
wernerAuthored on Sat, Nov 15, 4:30 PM
Parents
rGe5473262e884: gpg: Allow the export of Kyber secret keys.
Branches
Unknown
Tags
Unknown