mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02: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>
(cherry picked from commit e08e1d62d0
)
This commit is contained in:
parent
a4fa4b5d4b
commit
c373735e79
1 changed files with 5 additions and 1 deletions
|
@ -339,6 +339,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)
|
||||
{
|
||||
|
@ -364,7 +368,7 @@ print_sha1_keysig_rejected_note (void)
|
|||
{
|
||||
static int shown;
|
||||
|
||||
if (shown)
|
||||
if (shown || opt.quiet)
|
||||
return;
|
||||
|
||||
shown = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue