Home GnuPG
Diffusion GnuPG 40bf383f72b5

gpg: Move key cleaning functions to a separate file.

Description

gpg: Move key cleaning functions to a separate file.

* g10/trust.c (mark_usable_uid_certs, clean_sigs_from_uid)
(clean_uid_from_key, clean_one_uid, clean_key): Move to ...
* g10/key-clean.c: new file.
* g10/key-clean.h: New.
* g10/Makefile.am (gpg_sources): Add new files.
* g10/export.c, g10/import.c, g10/keyedit.c, g10/trustdb.c: Include
new header.
* g10/trustdb.h (struct key_item, is_in_klist): Move to ...
* g10/keydb.h: here.

(cherry picked from commit 135e46ea480d749b8a9692f71d4d0bfdadd8ee2f)

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

Details

Provenance
wernerAuthored on Jul 6 2018, 11:40 AM
Parents
rGb4599a0449ea: gpg: Allow decryption using several passphrases in may cases.
Branches
Unknown
Tags
Unknown