mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <wk@gnupg.org>
This commit is contained in:
parent
b6507bb80e
commit
60e21d8b85
2 changed files with 11 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue