diff options
author | Werner Koch <wk@gnupg.org> | 2017-07-27 11:37:00 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-07-27 11:38:57 +0200 |
commit | fcb62fe20f45290bf95703ec3bf4d0b361fa4339 (patch) | |
tree | e7a017dc3c7b6e627f7128e6f9d797de4f584365 /g10/key-check.h | |
parent | g10: Make sure exactly one fingerprint is output with --quick-gen-key. (diff) | |
download | gnupg2-fcb62fe20f45290bf95703ec3bf4d0b361fa4339.tar.xz gnupg2-fcb62fe20f45290bf95703ec3bf4d0b361fa4339.zip |
gpg: Avoid output to the tty during import.
* g10/key-check.c (key_check_all_keysigs): Add arg mode and change all
output calls to use it.
* g10/keyedit.c (keyedit_print_one_sig): Add arg fp and chnage all
output calls to use it.
(keyedit_menu): Adjust for changes.
* g10/gpgcompose.c (keyedit_print_one_sig): Add dummy arg fp.
* g10/import.c (import_one): Call key_check_all_keysigs with output to
the log stream.
--
Fixes-commit: 404fa8211b6188a0abe83ef43a4b44d528c0b035
GnuPG-bug-id: 3288
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g10/key-check.h')
-rw-r--r-- | g10/key-check.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/key-check.h b/g10/key-check.h index 3e4dd1031..9f7886ca0 100644 --- a/g10/key-check.h +++ b/g10/key-check.h @@ -22,7 +22,7 @@ #include "gpg.h" -int key_check_all_keysigs (ctrl_t ctrl, kbnode_t kb, +int key_check_all_keysigs (ctrl_t ctrl, int mode, kbnode_t kb, int only_selected, int only_selfsigs); #endif /* GNUPG_G10_PACKET_TOOLS_H */ |