mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
gpg: Improve perceived speed of secret key listings.
* g10/keylist.c (list_keyblock): Flush stdout for secret keys. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
eecbed004c
commit
81e177be10
@ -1569,6 +1569,8 @@ list_keyblock (KBNODE keyblock, int secret, int has_secret, int fpr,
|
||||
list_keyblock_colon (keyblock, secret, has_secret, fpr);
|
||||
else
|
||||
list_keyblock_print (keyblock, secret, fpr, opaque);
|
||||
if (secret)
|
||||
es_fflush (es_stdout);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user