aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/keylist.c1
-rw-r--r--g10/misc.c12
2 files changed, 11 insertions, 2 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));
diff --git a/g10/misc.c b/g10/misc.c
index 320e8afbf..c47d6dcf0 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -298,12 +298,14 @@ print_pubkey_algo_note (pubkey_algo_t algo)
if(!warn)
{
warn=1;
+ es_fflush (es_stdout);
log_info (_("WARNING: using experimental public key algorithm %s\n"),
openpgp_pk_algo_name (algo));
}
}
else if (algo == PUBKEY_ALGO_ELGAMAL)
{
+ es_fflush (es_stdout);
log_info (_("WARNING: Elgamal sign+encrypt keys are deprecated\n"));
}
}
@@ -317,6 +319,7 @@ print_cipher_algo_note (cipher_algo_t algo)
if(!warn)
{
warn=1;
+ es_fflush (es_stdout);
log_info (_("WARNING: using experimental cipher algorithm %s\n"),
openpgp_cipher_algo_name (algo));
}
@@ -332,13 +335,17 @@ print_digest_algo_note (digest_algo_t algo)
if(!warn)
{
warn=1;
+ es_fflush (es_stdout);
log_info (_("WARNING: using experimental digest algorithm %s\n"),
gcry_md_algo_name (algo));
}
}
else if(algo==DIGEST_ALGO_MD5)
- log_info (_("WARNING: digest algorithm %s is deprecated\n"),
- gcry_md_algo_name (algo));
+ {
+ es_fflush (es_stdout);
+ log_info (_("WARNING: digest algorithm %s is deprecated\n"),
+ gcry_md_algo_name (algo));
+ }
}
@@ -349,6 +356,7 @@ print_md5_rejected_note (void)
if (!shown)
{
+ es_fflush (es_stdout);
log_info
(_("Note: signatures using the %s algorithm are rejected\n"),
"MD5");