mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-23 15:07:03 +01:00
gpg: Avoid double fingerprint printing with import-show.
* g10/import.c (import_one) <IMPORT_SHOW>: Take care of fingerprint options. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
d9fabcc198
commit
b54d75fb1d
@ -1778,7 +1778,8 @@ import_one (ctrl_t ctrl,
|
|||||||
merge_keys_done = 1;
|
merge_keys_done = 1;
|
||||||
/* Note that we do not want to show the validity because the key
|
/* Note that we do not want to show the validity because the key
|
||||||
* has not yet imported. */
|
* has not yet imported. */
|
||||||
list_keyblock_direct (ctrl, keyblock, 0, 0, 1, 1);
|
list_keyblock_direct (ctrl, keyblock, 0, 0,
|
||||||
|
opt.fingerprint || opt.with_fingerprint, 1);
|
||||||
es_fflush (es_stdout);
|
es_fflush (es_stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user