mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
gpg: Do not print rejected digest algo notes with --quiet.
* g10/misc.c (print_digest_rejected_note): Do not print in quiet mode. (print_sha1_keysig_rejected_note): Ditto. -- GnuPG-bug-id: 4893 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
bf3a9377d1
commit
e08e1d62d0
@ -359,6 +359,10 @@ print_digest_rejected_note (enum gcry_md_algos algo)
|
||||
{
|
||||
struct weakhash* weak;
|
||||
int show = 1;
|
||||
|
||||
if (opt.quiet)
|
||||
return;
|
||||
|
||||
for (weak = opt.weak_digests; weak; weak = weak->next)
|
||||
if (weak->algo == algo)
|
||||
{
|
||||
@ -384,7 +388,7 @@ print_sha1_keysig_rejected_note (void)
|
||||
{
|
||||
static int shown;
|
||||
|
||||
if (shown)
|
||||
if (shown || opt.quiet)
|
||||
return;
|
||||
|
||||
shown = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user