diff --git a/g10/misc.c b/g10/misc.c index a606d5364..147592827 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -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;