mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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: 2236 Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
8095d16b3e
commit
404fa8211b
5 changed files with 693 additions and 614 deletions
|
@ -3063,3 +3063,21 @@ show_basic_key_info (ctrl_t ctrl, KBNODE keyblock)
|
|||
(void)ctrl;
|
||||
(void) keyblock;
|
||||
}
|
||||
|
||||
int
|
||||
keyedit_print_one_sig (ctrl_t ctrl, int rc, kbnode_t keyblock, kbnode_t node,
|
||||
int *inv_sigs, int *no_key, int *oth_err,
|
||||
int is_selfsig, int print_without_key, int extended)
|
||||
{
|
||||
(void) ctrl;
|
||||
(void) rc;
|
||||
(void) keyblock;
|
||||
(void) node;
|
||||
(void) inv_sigs;
|
||||
(void) no_key;
|
||||
(void) oth_err;
|
||||
(void) is_selfsig;
|
||||
(void) print_without_key;
|
||||
(void) extended;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue