Home GnuPG
Diffusion GnuPG 404fa8211b61

gpg: Refactor key checking and fixing.

Description

gpg: Refactor key checking and fixing.

* g10/Makefile.am (gpg_sources): Add new files.
* g10/gpgcompose.c (keyedit_print_one_sig): New stub.
* g10/keyedit.c (sig_comparison): Move to new module.
(check_all_keysigs): Likewise.
(fix_keyblock): Adapt callsite.
(keyedit_menu): Likewise.
* g10/key-check.c: New file.
* g10/key-check.h: Likewise.
  • GnuPG-bug-id: T2236
  • Signed-off-by: Justus Winter <justus@g10code.com>