diff options
author | Werner Koch <wk@gnupg.org> | 2021-03-24 10:46:21 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2021-03-24 12:27:35 +0100 |
commit | 5346da61c14d79fed49171800b487caebbb511c1 (patch) | |
tree | 2f5d83a561843f1530d474265c8dc9f321a307d1 /g10 | |
parent | gpg: Fix v5 signature for clearsign. (diff) | |
download | gnupg2-5346da61c14d79fed49171800b487caebbb511c1.tar.xz gnupg2-5346da61c14d79fed49171800b487caebbb511c1.zip |
gpg: No warning in quiet mode for S2K mode 0.
--
Diffstat (limited to 'g10')
-rw-r--r-- | g10/gpg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3906,7 +3906,8 @@ main (int argc, char **argv) log_error(_("invalid min-cert-level; must be 1, 2, or 3\n")); switch( opt.s2k_mode ) { case 0: - log_info(_("Note: simple S2K mode (0) is strongly discouraged\n")); + if (!opt.quiet) + log_info(_("Note: simple S2K mode (0) is strongly discouraged\n")); break; case 1: case 3: break; default: |