aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keylist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-10-09 18:57:02 +0000
committerWerner Koch <[email protected]>2014-10-09 18:57:02 +0000
commit60e21d8b85888b8c9ea15c70268f98d780fdf5fb (patch)
tree1998f37f722752aaf9f5a5a07d0ae3c5499db95e /g10/keylist.c
parentkbx: Fix handling of overlong keys. (diff)
downloadgnupg-60e21d8b85888b8c9ea15c70268f98d780fdf5fb.tar.gz
gnupg-60e21d8b85888b8c9ea15c70268f98d780fdf5fb.zip
gpg: Sync keylist output and warning messages.
* g10/keylist.c (list_all): Flush stdout before logging. * g10/misc.c (print_pubkey_algo_note): Ditto. (print_cipher_algo_note): Ditto. (print_digest_algo_note): Ditto. (print_md5_rejected_note): Ditto. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/keylist.c')
-rw-r--r--g10/keylist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/keylist.c b/g10/keylist.c
index 364947528..4a028205a 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -496,6 +496,7 @@ list_all (int secret, int mark_secret)
keyblock = NULL;
}
while (!(rc = keydb_search_next (hd)));
+ es_fflush (es_stdout);
if (rc && gpg_err_code (rc) != GPG_ERR_NOT_FOUND)
log_error ("keydb_search_next failed: %s\n", g10_errstr (rc));